Forum Discussion
Rupa_34586
Nimbostratus
Mar 09, 2010retrive rupa from "rupa"
Hi,
i want to function to retrive string from quatations
I have string "rupa". I want to retrive just rupe from that.
I tried using split function but it d...
hoolio
Cirrostratus
Mar 09, 2010Hi Rupa,
There are a few ways to do this using TCL or iRules-specific commands:
set test_string {"test"}
"test"
scan $test_string {"%[^"]"}
test
[getfield {"test"} "\"" 2]
test
Or is the input string more than one double quoted token?
Aaron