Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5902 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

Posted

letters = Left ( string ; Length ( string ) - 3 )

digits = Right ( string ; 3 )

Both fields MUST be text fields, not number fields.

Posted

grazie Daniele, era esattamente quello che mi serviva

Questo è perfetto italiano... ma lo sei ?

This is a perfect italian... but are you from Italy ?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.