1.1.2.1 Length
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.length
else
-1
|
1.1.2.2 Lowercase
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.toLowerCase()
else
null
|
1.1.2.3 Split
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.split(',')
else
null
|
1.1.2.4 contain sub-string
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.search(/hello/ig)
else
-1
|
1.1.2.5 Position of sub-string
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.indexOf('hello')
else
-1
|
1.1.2.6 replace first
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.replace("hello", "Hello");
else
null
|
1.1.2.7 replace all
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.replace(/hello/g, "Hello");
else
null
|
1.1.2.8 Replace in case-insensitive
Row expression | if ( #{stringColumn} != null )
#{stringColumn}.replace(/hello/ig,'Hello')
else
null
|
1.1.2.9 Special values
Row expression | var array = [ 'A', 'B', 'C', 'D' ];
array.includes('#{stringColumn}')
|