Bob,
Thanks again for the help. I tried the command but my software says map was illegal. S/W is based on 8.0. What I ended up getting to work was regsub
I used:
regsub -all {_} $my_varaible " " my_variable
I've come up with a couple of clunky ways to trim the last four out of a string. In...
Tobi,
Thank you. I will run it in the morning. Just learning tcl to modify a tcl based post processor for UniGraphics NX, CAD/CAM software. U/G furnishes U/G Post Builder software but you still have to stick your fingers in the code.
Will you define: map {_ " "}
I'm assuming string is causing...
Can I replace every instance of a character in a given string with a space? i.e. 2004_THIS_IS_A_STRING where literal output is: 2004 THIS IS A STRING. Input will always be uppercase or numeric only.
Working on a post processor.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.