Trim
Removes white characters from the beginning and end of the string. If no such characters are found at the beginning or end of the string, the unchanged string is returned.
Trim(stringToTrim);Function arguments
Dział zatytułowany „Function arguments”- stringToTrim – (String) a string value to be trimmed.
Return value
Dział zatytułowany „Return value”This function returns String. Returns trimmed string.
Examples
Dział zatytułowany „Examples”Example 1: ’result’ variable value will be „abc”.
result = Trim(" abc ");Example 2: ’result’ variable value will be „abc xyz”.
result = Trim(" abc xyz ");Example 3: ’result’ variable value will be „abcxyz”.
result = Trim("abcxyz");