Difference between revisions of "Right"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Right(Text: AnsiString; Count: Integer): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Descriptio...") |
|||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function Right( | + | function Right(const Str: AnsiString; const Len: Integer): AnsiString; |
</source> | </source> | ||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Returns a part of the given [[AnsiString|string]] ''' | + | Returns a part of the given [[AnsiString|string]] '''Str''' starting at the right side of the string with a length specified by '''Len'''. |
==Example== | ==Example== |
Latest revision as of 11:43, 18 September 2011
Definition
function Right(const Str: AnsiString; const Len: Integer): AnsiString;
Availability
SCAR Divi 3.00 > Current
Description
Returns a part of the given string Str starting at the right side of the string with a length specified by Len.
Example
begin WriteLn(Right('Hello World!', 6)); end.
Output:
World!