Quote:
Originally posted by jeffnc
What step type would I create to put your code in?
|
It depends on what you want to do with the parsed value. You might just use the expression inline in the field(s) that need it. Or you could assign it to a macro (via a Set Macro step or by using the expression as the value of a macro) and use the macro as needed.
Quote:
For parsing, it looks like it can be this simple.
blah blah blah 1.2.3.4
I want 1.2.3.4, so it could be as simple as getting the last "token", or whatever comes after the last space.
|
[Mid("%PROJDIR%", InStrRev("%PROJDIR%", " ")+1)]