I keep seeing that if the "text" part of
is "" or zero, that it will return "text", which is what it is doing in my situation.
These are phone numbers that I'm trying to pull the area codes from.
It's actually starting to return the first 3 characters on the left, until it see's a "0" and then it returns the entire number ("text").
It works fine as long as the area code does not contain a "0".
I have this field set as a text field but apparently that isn't good enough.
Does anyone know how to code it so that it will see a "0" as it would any letter, or other number?
Thanks!
Code:
left(text, #)
These are phone numbers that I'm trying to pull the area codes from.
It's actually starting to return the first 3 characters on the left, until it see's a "0" and then it returns the entire number ("text").
It works fine as long as the area code does not contain a "0".
I have this field set as a text field but apparently that isn't good enough.
Does anyone know how to code it so that it will see a "0" as it would any letter, or other number?
Thanks!
Comment