Unless you have control over the file repository or text generation this is going to be a daunting task - varying path, path depth, and varying filename length. If you do, can all of the files be put into a single directory - or at least copied there? Then it would be easy to strip the same known path. Or, can the filenames be prefixed with say “ZZ”? Then you could easily find the beginning char of the filename for an easy capture to end of string. You could even strip the ZZ back off for a clean filename.
What generates the path and filename? If automated, can the program be changed to prefix “ZZ” to the filename (not to the actual file but to the text)? Then you could strip it back off for display.
From your example:
[PATH] = \FILE_SERV\SUITE\DATA\MATCH\WIA\IN\FXMM\ZZBBSUMPOS04.TXT
There is no function like SUBSTITUTE or REPT in WEBI…
I guess I can use REPLACE function for Substitute, but could you please explain what is REPT function’s working there and what function we can use for same in WEBI.