Jump to content

Recommended Posts

Posted (edited)

$stringLen = StringLen($String)
dim $arry[$stringLen + 1]

for $s = 1 to $stringLen step 2
     $array[$s] = StringMid($string, $s, 2)
nextoÝ÷ Ù8Zµ©f¢Ëp¢¹w}Ó«®ì=«­¢+Ù¥´ÀÌØíÉÉålÀÌØíÍÑÉ¥¹1¸¬Åt(ÀÌØí¬ôÀ)½ÈÀÌØíÌôÄѼÀÌØíÍÑÉ¥¹1¸ÍÑÀÈ(ÀÌØíÉÉålÀÌØí­tôMÑÉ¥¹5¥ ÀÌØíÍÑÉ¥¹°ÀÌØḭ́Ȥ(ÀÌØí¬ô¬Ä)¹á

That code will work! Thanks again! :)

Edited by Koerveter
Posted

yeah weaponx's way is alot better ive never really used StringRegExp so i just told you the way i knew

i am probably gonna look into it now im gonna need something like that soon i think

  • Moderators
Posted

StringRegExp($string, '(?U).{2}|.', 3)
StringRegExp($string, '.{1,2}', 3)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

The winner takes it all :)

#include<Array.au3>
Global $string = "123456789"
Global $re = StringRegExp($string, '..|.', 3)
_ArrayDisplay($re)

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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
×
×
  • Create New...