|
-
May 23rd, 2013, 08:30 AM
#1
Thread Starter
Hyperactive Member
Question Using String Replace
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 ([email protected]) needs to be ([email protected])
Using the replace method it turns into this
some_one@here_com
Is there a way to change the first occurrence only?
-NJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|