Trim - script and chart function

Trim() returns the input string trimmed of any leading and trailing spaces.

Syntax:  

Trim(text)

Return data type: string