trim Method

Purpose:

Removes leading and trailing space from a string..

Syntax:

.trim

Comments: 

Example:

abc = "  abCd  "

p ">" + abc.trim + "<"

>abCd<