Replace a word in a string - path

Hello I have this path -
Development\AP\Sep 2022\09132022\HRC399522\In-Progress\HRC399522_2022-09-13_100133_CMP052_S-100133.pdf

I want to replace “In-Progress” with “Completed”
Kindly help .

Regards,
G

strPath.Replace(“In-Progress”,“Completed”)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.