By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,988 Members | 1,476 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,988 IT Pros & Developers. It's quick & easy.

Leading and trailing String spaces

P: 42
is there a function to remove leading and trailing spaces on strings?

example:

word = " THE QUICK BROWN FOX "

output:

word = "THE QUICK BROWN FOX"
Nov 8 '06 #1
Share this Question
Share on Google+
2 Replies


P: 42
nvm i know now Ltrim and Rtrim ^_^
Nov 8 '06 #2

100+
P: 267
or just Trim (string) to remove both left and right spaces
Nov 8 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.