Remove

Top  Previous  Next

Function

Parameters

Return value

Remove

string s, 

int startIndex

string

 

Deletes all the characters from the "s" string beginning at "startIndex" position and continuing through the last position.

 

Example:

 

Remove("ABCD", 3) = "ABC"

 

 

Function

Parameters

Return value

Remove

string s, 

int startIndex,

int count

string

 

Deletes a number of characters specified in the "count" parameter from the "s" string, beginning at a "startIndex" position.

 

Example:

 

Remove("A00BC", 1, 2) = "ABC"