tmyonline Posted October 1, 2010 Share Posted October 1, 2010 Guys: What is the way to remove white spaces in front of a form entry ? Should I use regular expression for this ? Thanks. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted October 1, 2010 Share Posted October 1, 2010 trim() Quote Link to comment Share on other sites More sharing options...
tmyonline Posted October 1, 2010 Author Share Posted October 1, 2010 Thanks Pikachu2000 for bringing back my memory. How can I forget trim() ? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted October 1, 2010 Share Posted October 1, 2010 Use ltrim() to remove leading white space. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.