Jump to content

Recommended Posts

Can anyone advise please?

I have field data in the form of (7 digit + 4 digits + 5 digits) (1111111-12-11111)

I want to automatically separate this string into 3 separate fields... I have discovered how to so with the 1st 7 Using "right" (Field name 7) and likewise for the "left" 5 Digits

How can i grab the middle 4 (-12-) in my example.

Thank you for any help offered.

Share this post


Link to post
Share on other sites
44 minutes ago, beckham said:

How can i grab the middle 4 (-12-) in my example.

Use the Middle() function, of course:

Middle ( Yourfield ; 8 ; 4 )

assuming you want the hyphens, too (which seems strange).

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Thank you comment, thats great!

The hyphen request is strange but these are requested by the department i am providing this data to.

kind regards

Share this post


Link to post
Share on other sites

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

  • Who Viewed the Topic

    1 member has viewed this topic:
    scrumpto 
×

Important Information

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