Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Function Reference » Alphabetical list of functions

IFNULL function [Miscellaneous] Next Page

INSERTSTR function [String]


Inserts a string into another string at a specified position.

Syntax

INSERTSTR( integer-expression, string-expression-1, string-expression-2 )

Parameters

integer-expression    The position after which the string is to be inserted. Use zero to insert a string at the beginning.

string-expression-1    The string into which the other string is to be inserted.

string-expression-2    The string to be inserted.

Remarks
See also
Standards and compatibility
Example

The following statement returns the value backoffice.

SELECT INSERTSTR( 0, 'office ', 'back' );