Old posts that have not been replied to for several years.
-
b_raven
- Voice
- Posts: 6
- Joined: Tue Jul 20, 2004 1:43 am
Post
by b_raven »
anyone know a quick way to replace every instance of a character in a string with another?
in my case space with _
-
greenbear
- Owner
- Posts: 733
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Norway
Post
by greenbear »
Code: Select all
set string [string map {" " "_"} $string]