We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd48456 commit a84d06eCopy full SHA for a84d06e
lib/documentTypes/arizonaDriverLicense.js
@@ -20,8 +20,8 @@ module.exports = {
20
let first_name = rawText.find((line) => line.match(/^2 (.*)$/g));
21
if (first_name && first_name.substr(0, 2) === '2 ') {
22
first_name = first_name.replace('2 ', '');
23
+ first_name = first_name.split(' ').shift();
24
}
- first_name = first_name.split(' ').shift();
25
26
// last name
27
let last_name = rawText.find((line) => line.match(/^1 (.*)$/g));
0 commit comments