We could add a filter that removes any leading and trailing spaces from some text.
For example sw1a 4aa would become sw1a 4aa.
This could be named trim (see PHP) or strip (see Ruby) or removeLeadingAndTrailingSpaces or something else?
Do we have any examples where this would be useful?
We could add a filter that removes any leading and trailing spaces from some text.
For example
sw1a 4aawould becomesw1a 4aa.This could be named
trim(see PHP) orstrip(see Ruby) orremoveLeadingAndTrailingSpacesor something else?Do we have any examples where this would be useful?