I'll be the first to admit this may be a dumb newbie question, but I'm struggling!
I have an input field that contains a file path like the following:
q:\\staging\\incoming\\1930s\\WI\\Sauk\\1937\\Sauk_WI_WU_11_908_19370707.tif
I need to construct a URL to the file as referenced in a URL, and dump it into another field:
https://server.com/1930s/WI/Sauk/1937/Sauk_WI_WU_11_908_19370707.tif
My conceptual approach has been to use string processing to replace q:\\staging\\incoming with https://server.com, and then replace backslashes with forward slashes.
Well, you can see where this is going... the slashes and backslashes are wreaking havoc.
For example, I've tried various combinations to escape the \\, like:
@ReplaceString(@Value(inputpath),"/\\","/")
... but I either get no results, or a syntax notice.
Am I even in the ballpark?? I'd love some suggestions on how to approach this issue.