Jump to content

Copying one character at a time?


Fewmitz
 Share

Recommended Posts

Okay, so I'm trying to figure out how to copy one character at a time.

I thought about adding the current character to an array, then splitting a string at a different character, but that wouldn't work for a repeat of characters.

So anyway I could take a value in say, a textbox, and edit it in some way?

Link to comment
Share on other sites

Okay, so I'm trying to figure out how to copy one character at a time.

I thought about adding the current character to an array, then splitting a string at a different character, but that wouldn't work for a repeat of characters.

You mean like this?

$String = "FFeewwmmiittzz";repeated characters for effect

$Array = StringSplit($String,"")

For $i = 1 to $Array[0]
MsgBox(0, "Letter "&$i&" of "&$Array[0], $Array[$i])
Next

So anyway I could take a value in say, a textbox, and edit it in some way?

  • Send
  • ControlSend
I'd need more info to tell you anything more.. Edited by Paulie
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...