Difference between revisions of "TrimOthers"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TrimOthers(Text: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Removes...")
(No difference)

Revision as of 22:54, 1 July 2011

Definition

function TrimOthers(Text: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Removes all characters that are not numbers or letters from a string Text and returns it.

Example

begin
  WriteLn(TrimOthers('-Hello World!-'));
end.

Output:

HelloWorld

See Also