Difference between revisions of "GetOthers"
From SCAR Divi Manual
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function GetOthers( | + | function GetOthers(const Str: AnsiString): AnsiString; |
</source> | </source> | ||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Removes all characters that are numbers or letters from a [[AnsiString|string]] ''' | + | Removes all characters that are numbers or letters from a [[AnsiString|string]] '''Str''' and returns it. |
==Example== | ==Example== |
Latest revision as of 16:24, 17 September 2011
Definition
function GetOthers(const Str: AnsiString): AnsiString;
Availability
SCAR Divi 3.00 > Current
Description
Removes all characters that are numbers or letters from a string Str and returns it.
Example
begin WriteLn(GetOthers('-Hello World!-')); end.
Output:
- !-