Remove

Web Site  Methods

 
Str::Remove
 
int Remove (STRCHAR ch)

Removes all occurences of the passed character from the string. ch cannot be 0 (the null character). If ch is a letter, the comparision is case-sensitive.

The return value is the number of characters removed from the string.

 

See also: Trimming / case / miscellaneous, Trim leading/trailing characters