Delete |
Top Previous Next |
Removes a substring of $length characters from string $s starting at position $startPos. The first character of $s has the index 1.
If $startPos is larger than the length of the string or less than 1, no characters are deleted.
If $length specifies more characters than remain starting at $startPos, Delete removes the rest of the string. If $length is less than or equal to 0, no characters are deleted.
Parameters
Example:
|