- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function substr_istrip(const str, sub: string): string;
Arguments:
-
str |
Source string |
arg_name |
Substring for removal |
Description:
-
Removes all occurrences of substring in a string. Case insensitive.
Returns:
-
Removal result or original value depending on search success.
Usage:
-
s := 'I am not a singer, I am NOT an artist';
s := substr_istrip(s, ' not');
writeln(s);
See also:
-
substr_strip.
|