How do I exclude or omit a prefix letter/number/character in the output field (FileMaker Calculation)

How do I specify a calculation function to omit/exclude a leading letter/number/character in the output filed of a FileMaker Pro database?

Here is what I exactly mean:
Lets say I have a barcode that translates into A123ABC4567, when the barcode is scanned into an input field called "Serial Number" I want it to be accepted as 123ABC4567, removing the prefix letter "A" automatically in the output field when printing the label. Any idea how? I just need the correct calculation function or formula. FileMaker Pro 10
kachal99Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hawardenCommented:
In FMP9 there is a function Right ( text ; numberOfCharacters ) that should be able to do what you want. Put the unmodified barcode in text and specify how many characters you want to keep in numberOfCharacters.

Hope this helps.
0
kachal99Author Commented:
Thanks for your quick response.
The problem is that the number of characters are not the same. Some of them are 13 characters long and some are 12 characters long. I just want to be able to remove a specified character in the prefix.
0
kachal99Author Commented:
I'm not sure if "FilterValues ( text ; filterValues )" will do any good in this scenario???
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

hawardenCommented:
Ah I see, try using Middle ( text ; start ; numberOfCharacters ) then. You still put the raw value in text, but put start as the second position, and specify numberOfCharacters as a larger number.....
0
kachal99Author Commented:
Can you please provide an example for removing the letter "A" in A123B45678912 (13 characters)?
0
hawardenCommented:
Middle(ScannedBarCode;2;20)

where the field ScannedBarCode contains A123B45678912 for this record.

20 characters should give you more than enough flexibility and it doesn't throw an error if it matches less characters. 2 is the position at which you start the substring.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kachal99Author Commented:
Got it Thanks!!!!!!!!!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FileMaker Pro

From novice to tech pro — start learning today.