Need help on Concatenation

require syntax for concatenation
filepath examples :C:\Robot\Team1\Telstra\MediaPlan1
i need only filename "MediaPlan1


Hi @vzvenkat,

You can use this syntax:

> Path.GetFileNameWithoutExtension(“YourPath”)
You will get the desired output.

Also, you can do in another method,

  1. Declare var_FilePath = “Your Path” and Datatype as Array of String.
  2. Declare var_FilePathWithoutExt = Path.GetFileNameWithoutExtension(var_FilePath)

This method will be useful during use cases and projects.

Please mark as solution if your query is solved, which would be helpful for others for future reference.


Thank you its working as am expecting

Hi @vzvenkat,

Great, kindly mark it as a solution which would be helpful for others.