473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 2610
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: lawrence | last post by:
I'm bad at regular expressions. Is this how I would look for any set of characters that go more than 60 characters without a white space? ..{60} Also, does this match a block of PHP in an...
31
by: Arthur Shapiro | last post by:
I'm the webmaster for a recreational organization. As part of one page of the site, I have an HTML "Calendar at a Glance" of the organization's events for the month. It's a simple table of a...
2
by: barb28 | last post by:
Hello, sometimes I have noticed that in web addresses, the number: 20% will show up in the address. I think this is somehow related to a 'blank space', but am unsure, does anyone know about...
28
by: Andreas Prilop | last post by:
Jukka reports on http://www.cs.tut.fi/~jkorpela/chars/spaces.html that Internet Explorer 6 fails on the "zero width space" U+200B ​ Is this observation still valid? For which versions of MS...
1
by: Wayne | last post by:
I'm using the following code from the Access Web to open a folder. The folder opens in "List" View. Is there an addition that I can make to the code to force the folder to open in "Details" view?...
13
by: Bryan Parkoff | last post by:
I have seen that C/C++ Compiler supports long filename up to 254 characters plus the extension. Can header files and source code files accept space between alphabet character and numeric...
4
by: blaq | last post by:
When one encounters mysterious gaps between elements, like: <div> <img src="one.gif"> <img src="two.gif"> </div> it's typically because the browser renders whitespace in the code as text....
3
by: kvnsmnsn | last post by:
I've written the following Javascript file that includes an input text field and an output text field, the latter of which is initialized to zero. Each time the user enters a number in the input...
5
by: vlsidesign | last post by:
The printf function returns "warning: unknown escape sequence: \040" for a backslash-space combination. If the ascii decimal number for space is 32 and the backslash is 92, why this particular...
12
by: jackson.rayne | last post by:
Hello, I am a javascript newbie and I'm stick at one place. I have a requirement where I will get a sentence in a variable example var v1 ="This is a sentence"
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.