Source
expression'{TRIGGER.VALUE}=1 and {19928}<>"-10e-10"'
---
test case'extract token 1'
in
expression'("ccc")="ccca"'
index1
out
return'ccc'
---
test case'extract token 2'
in
expression'("ccc")="ccca"'
index2
out
return'ccca'
---
test case'extract token 3'
in
expression'("ccc")="ccca"'
index3
out
return''
---
test case'extract token 1, int in the middle'
in
expression'("90")<>(2/"1")'
index1
out
return'90'
---
test case'extract token 2, int in the middle'
in
expression'("90")<>(2/"1")'
index2
out
return'2'
---
test case'extract token 3, int in the middle'
in
expression'("90")<>(2/"1")'
index3
out
return'1'
---
test case'extract token 1, str in the middle'
in
expression'(66)<>("-2"/1)'
index1
out
return'66'
---
test case'extract token 2, str in the middle'
in
expression'(66)<>("-2"/1)'
index2
out
return'-2'
---
test case'extract token 3, str in the middle'
in
expression'(66)<>("-2"/1)'
index3
out
return'1'