# StripString

## Description

Returns a string with all characters in "chars" removed from it. The original string is unmodified and a new string is returned with the characters removed. For example StripString("my string", "yn") would return "m strig". Note that if you are calling this command from tier 2 then the returned string must be deleted when you are done with it.

## Definition

string StripString( str, chars )

char* agk::StripString( const char* str, const char* chars )

## Parameters

- str - The string to modify
- chars - The characters to remove