Re: [PHP] encode string with spaces

2001-02-01 Thread David Robley
On Fri, 2 Feb 2001 11:36, David Robley wrote: > On Fri, 2 Feb 2001 11:22, Kevin McCarthy wrote: > > All - > > > > Any easy way to take a string and fill the spaces in it? Say like a > > URLencoding: > > > > This is my dog, Jack > > becomes > > This%20is%20my%20dog,%20Jack > > > > I ask this as I

Re: [PHP] encode string with spaces

2001-02-01 Thread David Robley
On Fri, 2 Feb 2001 11:22, Kevin McCarthy wrote: > All - > > Any easy way to take a string and fill the spaces in it? Say like a > URLencoding: > > This is my dog, Jack > becomes > This%20is%20my%20dog,%20Jack > > I ask this as I would like to send a string to a perl function that can > parse the

[PHP] encode string with spaces

2001-02-01 Thread Kevin McCarthy
All - Any easy way to take a string and fill the spaces in it? Say like a URLencoding: This is my dog, Jack becomes This%20is%20my%20dog,%20Jack I ask this as I would like to send a string to a perl function that can parse the string and create a hash from it based on delimiters I define. Bu