I suggest to implement the following feature:
Two optional Parameters for Atrim, Ltrim, Rtrim: StringToRemove and RemoveRecursively
So you can not only remove spaces, but also any chars or strings. Second option is to remove not only the first appearance.
A typical use case might be:
You have a string like Value1, Value2, , , , , , and you want to remove all the >, < at the end.