MacSig Posted September 27, 2008 Posted September 27, 2008 Hello, this looks like a simple issue but since I'm a newbie scriptmaker I can't figure it out. I have a field that contains a string, the string is formed by a arbitrary number of letters followed by 3 digits, for instance ABC001, ABCDE123. What I need to do is to split it into 2 parts, the first one has to contain the letters and the second one the 3 digits. I'm trying using "right" function but I couldn't make it so far. Could you please let me know the best way to handle this kind of issues? THANKS and HAVE A NICE DAY!
Raybaudi Posted September 27, 2008 Posted September 27, 2008 letters = Left ( string ; Length ( string ) - 3 ) digits = Right ( string ; 3 ) Both fields MUST be text fields, not number fields.
MacSig Posted September 27, 2008 Author Posted September 27, 2008 Thanks buddy, that's what I was looking for. grazie Daniele, era esattamente quello che mi serviva : :
Raybaudi Posted September 27, 2008 Posted September 27, 2008 grazie Daniele, era esattamente quello che mi serviva Questo è perfetto italiano... ma lo sei ? This is a perfect italian... but are you from Italy ?
MacSig Posted September 27, 2008 Author Posted September 27, 2008 Si, anche se vivo in California (yes, even if I Iive in California) :hello: :hello: :hello:
Recommended Posts
This topic is 5902 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now