Trim whitespace (space, tab, CR, LF) and additonal defined chars from the start and end of the string.
The string to trim
More characters to trim from the string
xf.Str.Trim(" %% Token %% ") => %% Token %%
xf.Str.Trim(" %% Token %% ", "%") => Token