This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

help with "lreplace" needed

Old posts that have not been replied to for several years.
Locked
D
Delusion

help with "lreplace" needed

Post by Delusion »

Hello,

I've made a script that reads from XML few lines.
The line it reads being set to a var named $hwnews, it gets it all and everything fine.

But in the XML they wrote it with "_" instead of space so the line looks like this: Ultra320_SCSI_from_Adaptec_and_LSI_Logic

MY question is how can i reaplce all the "_" with " " (space)

Thanks in advance.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

http://www.tcl.tk/man/tcl8.3/TclCmd/string.htm#M34

(it's good to look at all the available tcl commands some time)
Locked