$string.trimRight(<inStr>)
inStr
Example 107 #set($str='Hello My Cruel World! ')
#set($str2=$string.trimRight($str))
#set($tail='ABC')
Original string and tail: $str$tail
New string and tail: $str2$tailOriginal string and tail: Hello My Cruel World! ABC
New string and tail: Hello My Cruel World!ABC
| OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |