I would like to use the split function and replace function, but I’m having trouble using the split function to remove just the “1234_2” from the variable containing a CSV file path.
Variable containing the CSV file path = “C:\folder\1234_2.csv”
Variable containing the PDF file path = “C:\folder\images\5678.pdf”
First, I want to assign a new variable with “1234_2” from the CSV file path variable.
Then, I want to replace “5678” with the variable containing “1234_2”.
Any suggestions would be great.