Hello all,
I have to convert an Email address before I search a database. I have to Change the (.) Period to an (_) Underscore before I search and the string replace changes ALL the periods to underscore.
I need to replace the period in the Name and not in the .COM
This (Some.one@here.com) needs to be (some_one@here.com)
Using the replace method it turns into this
some_one@here_com
Is there a way to change the first occurrence only?
-NJ
I have to convert an Email address before I search a database. I have to Change the (.) Period to an (_) Underscore before I search and the string replace changes ALL the periods to underscore.
I need to replace the period in the Name and not in the .COM
This (Some.one@here.com) needs to be (some_one@here.com)
Using the replace method it turns into this
some_one@here_com
Is there a way to change the first occurrence only?
-NJ