beechy34 Posted March 25, 2009 Share Posted March 25, 2009 i know that \S allows white space how would you remove white space like for a phone number because some phone numbers have spaces in between them, what i want to do is is remove the white space so that the number goes together as a whole.thankyou Link to comment Share on other sites More sharing options...
justsomeguy Posted March 25, 2009 Share Posted March 25, 2009 If you want to remove all spaces, you can just use str_replace to replace a space character with an empty string. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.