Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing spaces from string

Status
Not open for further replies.

davetek

Programmer
Oct 30, 2002
42
IE
Hi,

I have a string in the format '001 555 2391'.

I want to convert this to 0015552391.

Any suggestions?

Thanks.
 
Something like this ?
newString = Replace(oldString, " ", "")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
using access97 and replace function isn't there unfortunately.
 
create your own function then.

thread701-952372 will give one example similar to what you need. others exist that have exactly what you need.

Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top