Jump to content

Recommended Posts

Posted

Hi, I was wondering if it's possible to break a string, and loop through each char of the string.

Example:

$string = "Hello"
$stringCount = someCountString($string)
$stringChars = someBreakString($string)
for($i=0, $i<$stringCount, $i++)
{
    send($stringChars[$i])
    sleep(200)
}

The code above obviously won't work, but if it did it would break "Hello" into, "H" "e" "l" "l" "o", and send each letter one at a time with the 200 ms sleep.

Any help on this would be great!

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
  • Recently Browsing   0 members

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