I think he meant in Flash and not VB
This will return the number of your strings length:
MyString.length
this will check to see if the digits are 9:
if (MyString.length == 9) {
trace("Is 9");
} else {
trace("Is not 9 it is:"+ MyString.length);
}
.....but you can take the code they gave for VB and run it in flash but you have to do it like this and I dont belive you can split and join in Mach's VB
fscommand("VBMacro" "some VB here")