0

Hi All,

Back after a LONG break from Daniweb, love the new look!

I have the following data scanned from a pdf417 and need to extract certain text to certain text fields, not sure how to go about this... Data scanned with manatee works plugin and android app using android studio.

All help will be appreciated.

Data that was returned from scan -
%MVL1CC18%0154%4025M003%4025012RP01C%DC62XBGP%NISSAN%SILVER/SILWER%

Each part between the %'s need to go to a field.

2
Contributors
2
Replies
13
Views
2 Years
Discussion Span
Last Post by AndreRet
1

Given the easy nature of the string you can split on the '%' character and end up with an array of the text you are after.
The hard part is if the inputs aren't in the same order as the string or any kind of dynamic sorting is required. That's a fairly simple answer though, is that what you were after or did you have an tougher, more specific problem?

0

Thank you Hericles,

Input will always be the same. I am using -

String[] extractedStrings = mysourcestring.split("%");
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.