Last active
December 30, 2015 02:39
-
-
Save TLMcode/7764561 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Begin: | |
| InputBox, var, Test,,, 300, 100 | |
| RegExMatch(var,"O)(\d{2,3}).*?(\d{2,3}).*?(\d{2,3}).*?(\d{2,3})", set_) | |
| if !IsObject(set_) | |
| { | |
| Msgbox, 0x10, Whoops!, You must use a set of 4 digits only!`nPlease try again | |
| Goto, Begin | |
| } | |
| For i in SetArr_ := [set_[1], set_[2], set_[3], set_[4]] | |
| For ii in NumArr_ := StrSplit( SetArr_[i] ) | |
| Msgbox % "Set_ " i "'s value is: " SetArr_[i] | |
| . "`nIts has " StrLen(SetArr_[i]) " Numbers" | |
| . "`nNumber " ii " is: " NumArr_[ii] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment