Hi need help with string manipulation.
I have a string - “C:\Robot\Team1\Telstra\MediaPlan***”
I want to concatenate the string and only want to extract "C:\Robot\Team1\Telstra" How can i acheieve this.
Pls help.
Thanks
Hi need help with string manipulation.
I have a string - “C:\Robot\Team1\Telstra\MediaPlan***”
I want to concatenate the string and only want to extract "C:\Robot\Team1\Telstra" How can i acheieve this.
Pls help.
Thanks
Hi,
Can you try the following expression?
System.IO.Path.GetDirectoryName("C:\Robot\Team1\Telstra\MediaPlan***")
Regards,
Try this split(“C:\Robot\Team1\Telstra\MediaPlan***”,“\MediaPlan”).First
@Rani1978
Var=“C:\Robot\Team1\Telstra\MediaPlan***”
var.Substring(0,var.LastIndexOf(""))
Thanks a lot
Thanks for providing a quick solution, it really helped me a lot.
Thanks once again.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.