Hello, I need to extract a substring from another string using tcl.
I have tried using regexp without success.
Here is an example of what I need to do:
string1 = "22/OBGJ/123456_5.66:22/OBGJ/000123_7.134"
I need to extract the entire substring upto but NOT including the ":" character.
Is there a simple solution for this?