@trimr() Function |
![]() ![]() ![]() |
@trimr() function eliminates the white space only at the end of the given string and returns the result. Syntax: @trimr(string-expression)
Examples: @trimr(' xx ') @// result: ' xx'
@set(v:x,'abc ') @trimr(v:x) @// result: 'abc' |