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::Insert

size_t Insert( size_t nIndex, SAChar ch );

size_t Insert( size_t nIndex, const SAChar *pstr );

Return value

Returns the length of the changed string.

Parameters

nIndex.    The index of the character before which the insertion will take place.

ch.    The character to be inserted.

pstr.    A pointer to the substring to be inserted.

Remarks

Call this member function to insert a single character or a substring at the given index within the string. The nIndex parameter identifies the first character that will be moved to make room for the character or substring. If nIndex is zero, the insertion will occur before the entire string. If nIndex is higher than the length of the string, the function will concatenate the present string and the new material provided by either ch or pstr.

Server specific notes

No specific information.

See also

Delete, operator +=, operator +

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.