From RAD Studio API Documentation
Jump to: navigation, search


UnicodeString& Delete(int index, int count) _ALWAYS_INLINE {


Type Visibility Source Unit Parent
function public ustring.h System UnicodeString


Removes a specified number of characters from the string.

Delete modifies the UnicodeString object to remove count characters from the string beginning with the character at index, where 1 is the index of the first character. It returns the resulting modified string (*this).

If index is larger than the character length of the UnicodeString object or less than 1, no characters are deleted.

If count specifies more characters than remain starting at the index, Delete removes the rest of the string. If count is less than 0, no characters are deleted.