Ras Tanura/
I want the result as Ras Tanura without /
Ras Tanura/
I want the result as Ras Tanura without /
@Gaurav07
StringVar=Ras Tanura/
OutString=StringVar.Replace(β/β, ββ)
Hi,
You can use TrimEnd Method as the following.
data=data.TrimEnd("/"c)
If the character is backslash, it will be data.TrimEnd("\"c)
Regards,
Hi @Gaurav07
If the the β/β comes always in the last position then it is better to do this way.
strName.Substring(0,strName.Length-1)
Regards,
Kommi Jeevan.