Chunk expressions
Posted: Mon Mar 19, 2012 9:10 am
Hi,
I am trying to isolate the last number which I colored in red here(can be 1 or 2 digits with and without decimal point) in a variable to then post into a field line by line.. these numbers (ones in Red) change every time I need to run this function so looking for figures is out of the question..
container looks like this.. can anyone think of a combination of chuck expressions that would achieve this?
DATA=1 - 1 - -
DATA=2 - 0 - -
DATA=3 - 1.5 - -
DATA=4 - 0 - -
DATA=5 - 5 - -
DATA=6 - 0 - -
DATA=7 - 7 - -
DATA=8 - 0 - -
DATA=9 - 6.5 - -
DATA=10 - 0 - -
DATA=11 - 8 - -
DATA=12 - 0 - -
I am trying to isolate the last number which I colored in red here(can be 1 or 2 digits with and without decimal point) in a variable to then post into a field line by line.. these numbers (ones in Red) change every time I need to run this function so looking for figures is out of the question..
container looks like this.. can anyone think of a combination of chuck expressions that would achieve this?
DATA=1 - 1 - -
DATA=2 - 0 - -
DATA=3 - 1.5 - -
DATA=4 - 0 - -
DATA=5 - 5 - -
DATA=6 - 0 - -
DATA=7 - 7 - -
DATA=8 - 0 - -
DATA=9 - 6.5 - -
DATA=10 - 0 - -
DATA=11 - 8 - -
DATA=12 - 0 - -