"remove" (string::remove)
Removes n characters from the string, starting at the given pos index.
Synopsis
int string.remove(int pos, int n);
Parameters
Parameter | Description |
---|---|
pos | Start index |
n | Number of characters to remove. |
Description
Removes n characters from the string, starting at the given pos index.
If the specified pos index is within the string, but pos + n is beyond the end of the string, the string is truncated at the specified pos.
Assignment
String