- This topic has 3 replies, 2 voices, and was last updated 15 years, 2 months ago by .
-
Topic
-
I hope this is easy. I’m trying to count the number of times a specific segment occurs in my HL7 message. It’s variable and I will use this value for a for loop variable later in my uproc. I can count the number of elements by
set segmentList [split $msg r]
set elements $segmentList
set j [llength $elements]
Now, I want to see how many of those elements begin with ZTX and return that as a number.
Viewing 2 reply threads
Viewing 2 reply threads
- The forum ‘Tcl Library’ is closed to new topics and replies.