Function CSPString::Mid()
Description:
Extracts part of the string's content, which starts at a specified position and has a specified length.
 |
Prototype:
CSPString Mid(unsigned long ulStartPos, unsigned long ulLength) const;
Arguments:
- unsigned long ulStartPos [IN]
The starting position of the substring.
- unsigned long ulLength [IN]
The length of the substring.
Return value:
Returns an extracted substring.
Examples:
CSPString strFullName = "John Smith"; CSPString strFirstName = strFullName.Mid( 0, 4 );
|
|