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

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

Recommended Posts

Posted (edited)

I have a field which I am attempting to parse to extract various data to post into other fields. In the first part it contains a 4 digit number which I wish to extract whilst numbers are present in the field later on...there must be a way of extracting the entire number as an integer and then only using the 4 digits on the left? Thx.

OK resolved this by using Left(GetAsNumber(DB::Fieldname);4)

Simple!

Edited by Guest
Posted

If you are sure that it is a 4 digit number then

Left(Filter(myDataField;“0123456789”); 4)

If it might be 1 or more digits then

LeftWords(Filter(myDataField;“0123456789 ,”); 1)

might be a better choice.

This topic is 5154 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.