I am trying to use a split function but it keeps saying subscript out of range. The input is 1234567 (any 7 digit number)
and the output needs to be 123-4567. so a user can enter their telephone number but it will add the hyphen for them. I can get it split when it has spaces but not without spaces. Need help
and the output needs to be 123-4567. so a user can enter their telephone number but it will add the hyphen for them. I can get it split when it has spaces but not without spaces. Need help