I am trying to find the string handler to get the first three digits of a zip code, entered in a form field from a webpage. The end result will be comparing the three digits to find which USPS zone the customer is shipping to.🙂
$rest = substr("abcdef", 0, 2); // returns "abc"
Thanks Leatherback! 😃 I can't believe the speed of your reply.
🆒