Thanks for the response, this is kind of what I was trying but my issue is I am not sure how to incorporate it into my calculation.
If this is my calculation:
value = GetValue ( container; 2 );
Middle ( value ; Position ( value ; "/"; 1 ; PatternCount ( value ; "/" ) ) + 1 ; Length ( value ) )
How do I incorporate the additional code?
Also, if you have time, would you mind explaining the different parts of the calculation you provided to help me have a better grasp of it?
To add an additional code use the & symbol at the end of your first code and the beginning of your next.
dmpporter, instead of using middle function,
Use this to get the filename where $path is the full path:
Delimiter = "/";
slashCount = PatternCount($path;Delimiter);
Parts = Substitute ( $path ; "/" ; "¶" )
slashCount = 0; $path;
slashCount > 30; "";
This will pull out the filename no matter how long the file is (slash-wise).
To use this with the container field output, you would first GetValue(containerField;LastValue), then split of from the colon, using the substitute, and then use the above let function to ge tthe filename.
hello i have img in my record... and then add filed to put name of img in this field... can any one help me plz... thx