Make Sure My String Is A 2-digit Number?

how can i check my string so i can say its a 2-digit number? (eg. 08)

thanks!

Daniel Moreno
www.danmoreno.com

CODE
{
    string $myString = "53";
    string $matched = match "[0-9]+" $myString;
    print("$matched: " + $matched + "\n");
    if (($matched == $myString) && (size($myString) == 2))
        print "your string is a TWO digit number!\n";
    else
        print "your string is NOT a two digit number!\n";
}

change $myString to your needs to test.

And DAN! holy shhht! I've seen your scripts. I mean... do what you want, but I'd really really really suggest to not name your global procs like "block", "game", "film", "pal"... you can do that with locals: no problem. But global procs are better named 1st: with a prefix and 2nd: for what they do! Maybe like dmAnimTools_SetStuffToGame. Please don't be offended. Its just a suggestion! ;]

Im sorry man, Im kinda new to programming. I will check my files out so i can fix it. thanks!

don't appologize :] I'm just suggesting.

does the diggit check work for you?

Still going to check it out tonight. I fixed the global thing in all scripts. Gonna upload it to highend again. thanks!

thanks! it worked! but i don