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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kcrist84

    Foreach loop with a tbllookup.

    I am trying to loop through a certain field and get a dr. number out. This is an hl7 message and this field can repeat any number of times or none. foreach Dr $OBRDrList { set DrNumber [lindex [split $Dr $subSep] 0] lappend DrCCList $DrNumber echo DrCCList: $DrCCList } set value3...
  2. kcrist84

    clock scan

    i have been fiddling with the clock command with no luck. i am trying to format the date 201001111357 to 01/11/2010 1:57 PM. Any help would be appreciated. Thanks
  3. kcrist84

    Help with switch statement

    Well, after i posted this i kept doing some reading and research and came up with that conclusion, but wasnt positive. I guess i have to do a bunch of if, and elseifs from what i have read.
  4. kcrist84

    Help with switch statement

    I am new to this and am maybe wanting to try a switch, but not real sure how to do syntax wise. Could someone point me in the right direction. I am taking values from different places in a message and checking them with a table. right now i have 3 values to check, but will eventually have...
  5. kcrist84

    Need help with string map replacing numbers

    Thanks all for your replies and bear with me...but what does the {\D} mean? Does it mean everything but numbers?
  6. kcrist84

    Need help with string map replacing numbers

    I need some help with a string map command. I am trying to replace special characters with a {}. For example if the number was 12456-21 i want 1245621, 1245a47 to 124547. I can get the special characters out, but how do i set it up to get rid of the letters. I have tried A-Z, a-z, A-z, chars...

Part and Inventory Search

Back
Top