Skip to content

StripNumbers ​

The function StripNumbers removes numeric characters from the string S.

The remaining characters are returned.

Declaration: Function StripNumbers(const S : string) : string');

Here is an example.

pascal
Var
  Str1 : string;
being
 //Returns 'There are  flowers in the bouquet, and  bouquets in the box.'
  Str1 := StripNumbers('There are 24 flowers in the bouquet, and 60 bouquets in the box.');
  LogInfo(Str1);
end;