Joined: 09 Mar 2012
Online Status: Offline
Posts: 46
Topic: Replacing Character in String Once Posted: 28 Jul 2021 at 7:03am
I want to remove a dash ('-') in a string but only one occurrence of it.
For example have a string of:
"MW-48-00-5182"
But I only want to remove the first occurrence of the dash. In all my records I want to remove the dash in position 3 and leave all other dashes alone if there is any. So the end result for the above example would be:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum