mattscotney
Programmer
Hi all,
myWord = "hello"
Is it possible to see if a character is at a specific position in a string without using an array?
EXAMPLE: If the character at position 2 is an e then change the character at position 5 to an x.
In Javascript you could use the following code:
If myWord.charAt(2) = "e"
{
myWord.charAt(5) = "x"
}
How can I do the same in vb?
Thanks in advance,
Matt Scotney
myWord = "hello"
Is it possible to see if a character is at a specific position in a string without using an array?
EXAMPLE: If the character at position 2 is an e then change the character at position 5 to an x.
In Javascript you could use the following code:
If myWord.charAt(2) = "e"
{
myWord.charAt(5) = "x"
}
How can I do the same in vb?
Thanks in advance,
Matt Scotney