Trim
Description:
Format:
Trim (string Source)
|
Parameters: |
Stringr |
Source |
Source string to trim. |
|
Return Value: |
String |
Result |
Trimmed string. |
Usage:
Example 1:
Trim the leading and trailing spaces from a string.
String strPhrase
String strResult
// strPhrases will not be equal to strResults
strPhrases = ' Super Widgets, Long Widgets, Soft Widgets '
strResult = Trim(strPhrases)