I want to type into a +919731111111 from json into a space where +91 to be removed and rest number to be added how do i trim it?

image
jsonOp.SelectToken(“members”)(0)(“phone”).ToString.Substring(3,13)

@Arvind_Karthigayan

try str.Replace("+91","")

cheers

or try str.replace(“+91”,string.empty)

HI @Arvind_Karthigayan

You can try this

jsonOp.SelectToken(“members”)(0)(“phone”).ToString.Substring(3)

or if you are sure that will be +91 by default

jsonOp.SelectToken(“members”)(0)(“phone”).ToString.Replace("+91","")

Regards
Sudharsan