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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read a string character by character

Status
Not open for further replies.

Phutie

Programmer
Jul 31, 2000
29
PH
Hi,<br><br>Example, I have a string:<br><br>&quot;Computer Program&quot;<br><br>and I like to rad it character by character so that if I encountered a space I will put a &quot;%&quot; in it, like this:<br><br>&quot;Computer%Program&quot;<br><br>Got any script ideas? thanks!!<br><br>Phutie<br><br>
 
You want to create well formed URLs,heh? Try RawURLencode and URLencode (and the corresponding decodes). Search at PHP.NET<br><br>I hope it works...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top