beckham Posted November 30, 2016 Share Posted November 30, 2016 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. Link to comment Share on other sites More sharing options...
comment Posted November 30, 2016 Share Posted November 30, 2016 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). 1 Link to comment Share on other sites More sharing options...
beckham Posted November 30, 2016 Author Share Posted November 30, 2016 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 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 2676 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