Hello,
I am trying to extract a portion of text from a string but having some difficulty.
Here is how it goes:
the fiels name is [Parameters] which contains a very long text string, every value is split with a "|", and has an "=" with a value.
ei: ...|LABOR=15.00000|...
inside that string i am looking for specific words.
ei "LABOR="
what i would like to do is extract that the value for that specific word.
ei: 15.00000
here is what i am trying with no success:
this returns a position I beleive not the value i am looking for
this returns a portion of the word "Labor"
this returns #error
what would be the correct syntax to accomplish this?
thanks,
Sylvain
I am trying to extract a portion of text from a string but having some difficulty.
Here is how it goes:
the fiels name is [Parameters] which contains a very long text string, every value is split with a "|", and has an "=" with a value.
ei: ...|LABOR=15.00000|...
inside that string i am looking for specific words.
ei "LABOR="
what i would like to do is extract that the value for that specific word.
ei: 15.00000
here is what i am trying with no success:
Code:
labor3: InStr([parameters],InStr([LABOR],"="))
Code:
Labor: Mid([Parameters],InStr([Parameters],"LABOR"),5)
Code:
test: Left(InStr("=",[Parameters],"Labor="),10)
what would be the correct syntax to accomplish this?
thanks,
Sylvain