Rstrcpp


Rstrcpp supports the following functions:

Function Parameters Description
ltrim string Left-trim string in place.
replace string, target, replacement Replace all instances of 'target' with 'replacement' in string and return new string.
rtrim string Right-trim string in place.
split string, separator, nparts_return Split string on 'separator' and return vector of parts.
trim string Trim string in place.