TTMSFNCUtils.CharInStr Method
Returns the character at the 1-based position
Indexwithins.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function CharInStr(s: string; Index: Integer): Char;
Parameters
| Name | Description |
|---|---|
s |
Source string. |
Index |
1-based character index. |
Returns
The character at the requested position, or #0 when out of range.