Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cncprogrammer

  1. cncprogrammer

    Replace techniques

    Bob, Thanks again for your help. David
  2. cncprogrammer

    Replace techniques

    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...
  3. cncprogrammer

    Replace techniques

    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...
  4. cncprogrammer

    Replace techniques

    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.

Part and Inventory Search

Back
Top