View Single Post
Old
dragnet
Member
 
Status: Offline
Posts: 38
Join Date: Jan 2010
Default 03-26-2010, 01:21 AM

Not sure I follow exactly what it is you are trying to accomplish, but the trim function is a built in function of the String class. You call it by using string_name.trim(). So from your example above it would be something like monthAbbrev.trim(). That will trim leading and trailing white spaces from the string.

Is that what you wanted to know?
   
Reply With Quote