dtrots Posted September 3, 2010 Posted September 3, 2010 I am trying to pick out the third and fourth number from a serial number. I know I can use 'set selection' but can only seem to copy and past with that. Is there something I'm missing to enter numbers from the middle of a field into a variable for a calculation?
comment Posted September 3, 2010 Posted September 3, 2010 I don't see how Set Selection would be useful here. I think you want something like: Set Variable [ $xyz ; ] The details of the calculation depend on what exactly does "the third and fourth number from a serial number" mean (from left? from right? how many characters are there? any non-numeric characters? etc. ).
dtrots Posted September 3, 2010 Author Posted September 3, 2010 OK - 3rd and 4th from the left - the serial number is always a combo of letters and numbers. Total number varies
comment Posted September 3, 2010 Posted September 3, 2010 So, assuming you want the 3rd and 4th characters (not necessarily digits) from the left, use: Middle ( SerialNumber ; 3 ; 2 ) as your calculation.
Recommended Posts
This topic is 5195 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