GetSubString(string, int, int)
Get a substring from within a string.
- Target string.
- Character offset.
- Number of characters in substring.
Returns a substring of sString containing nCount characters starting from offset nOffset. Returns an empty string on error.
The parameter nOffset begins with 0 for the first character in a string, 1 for the second character, 2 for the third character and so on.
This does not yield an error if there are not nCount characters between nOffset and the end of the string. Only the remaining characters are returned.
|functions:||FindSubString, GetStringRight, GetStringLeft|
author: Kristian Markon, editor: Daniel Beckman