There are several:
Trim
String.Trim
Text.Trim
Which one is used is based on context. This is further complicated by the fact that Trim originally just focused on whitespace, but was later expanded to accept other values to “trim”.
There are several:
Trim
String.Trim
Text.Trim
Which one is used is based on context. This is further complicated by the fact that Trim originally just focused on whitespace, but was later expanded to accept other values to “trim”.