- This topic has 3 replies, 3 voices, and was last updated 15 years, 5 months ago by .
-
Topic
-
I don’t claim to be a tcl programmer, but I am trying to pull a certain phrase out of result and set it to a variable. I have the following proc in my Pre tcl of a concat in my Xlate: set text [string toupper $xlateInVals]set index [string first “IMPRESSION:” $text]
echo “indexIM =$index”
if {$index > -1} {
set text [string range $text $index [string length $text]]
echo “textIM =$text”
set xlateOutVals $text
}
if {$index == -1} {
set OutVal “UNKNOWN”
}
When I run this through my tester the echo textIM shows:
But when I set my variable in my outbound field, it comes out likeTopicViewing 2 reply threadsViewing 2 reply threads- The forum ‘Cloverleaf’ is closed to new topics and replies.