AIT_StrRight
- Organization of this page
Description
Returns the specified number of characters from the right of the character string.
The number of characters you have specified using nNumChars are extracted from the start (left end) of strStrName. If the number of characters set in nNumChars exceeds the length of the character string, the entire character string is returned.
Format
string AIT_StrRight ( string strStrName, // Character string integer nNumChars // Character count );
Parameters
strStrName (input)
Specify a character string.
nNumChars (input)
Specify the number of characters to be extracted.
Return value
The return value is the extracted character string.
Note
For a multi-byte character set (MBCS), eight bits are assumed to be a single character. That is, the first and last bytes of a multi-byte character are counted as two characters.