Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAString::Mid

SAString Mid( size_t nFirst ) const;

SAString Mid( size_t nFirst, size_t nCount ) const;

Return Value

A SAString object that contains a copy of the specified range of characters. Note that the returned SAString object may be empty.

Parameters

nFirst.    The zero-based index of the first character in this SAString object that is to be included in the extracted substring.

nCount.    The number of characters to extract from this SAString object. If this parameter is not supplied, then the remainder of the string is extracted.

Remarks

Extracts a substring of length nCount characters from this SAString object, starting at position nFirst (zero-based). The function returns a copy of the extracted substring.

For multibyte character sets (default, SA_UNICODE is not defined), nCount refers to each 8-bit character; that is, a lead and trail byte in one multibyte character are counted as two characters. 

Server specific notes

No specific information.

See also

Left, Right

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.