String Manipulation-Replace

Hello

I have to replace particular 5th position with the /
07/1012017

Thanks in advance

β€œ07/1012017”.Substring(0,5) + β€œ/” + β€œ07/1012017”.Substring(6,4)

@vijaylaxmi_teli Try this :
β€œ07/1012017”.Remove(5,1).Insert(5,β€œ/”)

Hi @vijaylaxmi_teli

Hope this article might be helpful to you.

cheers :smiley:

Happy learning :smiley:

1 Like

Thanks, It’s working

Thanks, it’s Working

1 Like

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