|
-
Replacing a substring at a specific position
Hi all, need some help.
I want to replace the second character in a string, regardless of what character that is.
If I try the replace the second character with the (substring 1, 1) all instances of that character gets replaced.
I just want to replace the one sitting at position 2 in the string.
Ex Good -> Gxod, not Gxxd
Thanks in advance
Patrik
Similar Threads
-
By eagletonm in forum VB Classic
Replies: 1
Last Post: 10-25-2005, 08:59 AM
-
By pegastaff in forum Careers
Replies: 0
Last Post: 06-14-2005, 11:39 AM
-
By Ranger in forum VB Classic
Replies: 2
Last Post: 12-07-2000, 01:29 PM
-
By Ranger in forum VB Classic
Replies: 0
Last Post: 12-07-2000, 01:23 PM
-
Replies: 2
Last Post: 04-13-2000, 07:22 AM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks