1 length

Returns the length of a string.

<length>
    <string /> !
</length>
 

2 shrink

Remove blank spaces from a string. It can also be used to remove other fill characters using the words LEADING, TRAILING or BOTH.

<shrink>
    <expresion /> *
</shrink>
Example

Returns a string with the expression "test".

Copy
<shrink>'test      '</shrink>
 

3 trim

Remove blank spaces from a string. It can also be used to remove other fill characters using the words LEADING, TRAILING or BOTH.

<trim>
    <expresion /> *
</trim>
Example

Retorna un string con la expresión "test".

Copy
<trim>'test             '</trim>
 

4 substr

Returns a sub-string of a column or expression of string type.

<substr>
    <expresion /> *
</substr>
Example

Returns a sub-string of length 4 from the column starting at position 1.

Copy
<substr>docser,1,4</substr>
 

5 whitespace

Returns a blank string.

<whitespace />