471,627 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Changing a space to a character

Hi

I have converted a string into a uuencode format, but i wish to change the
spaces in the string into the char ' , does anyone have any ideas on how i
can do this?

Thanks

Dec 12 '05 #1
4 2565
After uuencoding? That would be extremely tricky.

Before uuencoding it's pretty easy.

Dec 12 '05 #2
so how could i do it before then?
would i be able to keep the ' after the string in encodeed?

"Bruce Wood" <br*******@canada.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
After uuencoding? That would be extremely tricky.

Before uuencoding it's pretty easy.

Dec 12 '05 #3
string.replace

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Jay Weston" <jw*****@googlemail.co.uk> wrote in message
news:dn*******************@news.demon.co.uk...
so how could i do it before then?
would i be able to keep the ' after the string in encodeed?

"Bruce Wood" <br*******@canada.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
After uuencoding? That would be extremely tricky.

Before uuencoding it's pretty easy.


Dec 12 '05 #4
Hi,
Just a reminder, String is an inmutable class, there String.Replace will
create another string with the replaced chars , meaning you have to assign
it :

stringVar = stringVar.Replace( ' ', ',' );
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:uL*************@TK2MSFTNGP12.phx.gbl...
string.replace

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Jay Weston" <jw*****@googlemail.co.uk> wrote in message
news:dn*******************@news.demon.co.uk...
so how could i do it before then?
would i be able to keep the ' after the string in encodeed?

"Bruce Wood" <br*******@canada.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
After uuencoding? That would be extremely tricky.

Before uuencoding it's pretty easy.



Dec 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

28 posts views Thread by Andreas Prilop | last post: by
13 posts views Thread by Bryan Parkoff | last post: by
12 posts views Thread by jackson.rayne | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.