Last chance! 50% off unlimited learning
Sale ends in
Returns string w/o leading or trailing whitespace
umx_trim(string, removeThis = NULL)
to trim
if not NULL then this string is removed wherever found in 'string'
- string
Other String Functions: umx_explode_twin_names
,
umx_explode
, umx_grep
,
umx_rot
# NOT RUN {
umx_trim(" dog") # "dog"
umx_trim("dog ") # "dog"
umx_trim("\t dog \n") # "dog"
umx_trim("xlsx dog.xlsx", "\\.xlsx$") # "dog"
# }
Run the code above in your browser using DataLab