trim is used to trim/remove whitespace from the beginning and the end of the string that invoked this method. It returns a NEW (new object) string with leading and trailing whitespace removed or the SAME string if it has no leading or trailing whitespace.
CODE class Trim OUTPUT Before using trim : DESCRIPTION The program explains how the THINGS TO TRY
|