[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Copies Count characters starting at the left of a string.
Source position: strutils.pp line 86
function LeftStr( |
const AText: AnsiString; |
const ACount: SizeInt |
):AnsiString; |
const AText: WideString; |
const ACount: SizeInt |
):WideString; |
AText |
|
String to copy characters from. |
ACount |
|
Number of characters to copy. |
First N characters of the string.
AText |
|
String to copy characters from. |
ACount |
|
Number of characters to copy. |
LeftStr returns a string containing the leftmost ACount characters from the string AText . If ACount is larger than the length (in characters) of AText , only as many characters as available are returned.
None.
|
Copies Count characters starting at the left of a string. |
|
|
Copies a number of characters starting at the left of a string |
|
|
Copy a given number of characters, counting from the right of a string. |
|
|
Copies a number of characters starting at a given position in a string. |