substring Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > core | string functions >


Result is the substring (string fragment) of the "string" parameter where "start" defines the position of the start character, and "length" the length of the substring.


If the length parameter is not specified, the result is a fragment starting at the start position and ending at the end position of the string. Indices start counting at 1.


E.g. substring("56789",2,3) results in 678.

© 2019 Altova GmbH