![]() |
Vb6 Help
Text replacement.
I can easily change any character in a textbox to whatever. But the problem I have is that the characters put in the textbox will always be random. Example: I have all these characters: zmt6umpbrlaip8te1dfmonpndpppciusdmye1sjubpdiiibnig I want to edit the 5th digit for the leter "o" so this is what i put for the code: Dim s As String s = txtExample.Text s = Replace(s, "u", "o") MsgBox (s) That code is used to edit a certain character, but the problem is that the characters will always be different. So i have to find a way for the fifth character in the text box to change, how do i do that in vb6? Hopefully mjmorrell or takeshi can help. |
All times are GMT -6. The time now is 10:17 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.