StringTrim- Returns the string without the initial and final spaces
Function that returns the string passed as parameter removing any spaces present at the beginning and at the end.
- StringTrim(S): string
Parameters:
- (string) S: A string from which initial and final spaces are removed.
Description:
Use the StringTrim function to remove the start and end spaces from a string.
Examples:
// Creates a string variable with some spaces at the beginning and at the end
S = " Biblos "
// Removes all unnecessary spaces at the beginning and end
T = StringTrim(S)
// The variable T contains the string "Biblos, without the unnecessary spaces
MsgBox(T)