I was once handed a document that said "Surname:" so I wrote my last name. Then the next line was "Last Name:"...so I wrote my last name, again.
The lady I handed it back to made fun of me for not knowing what "Surname" meant.
I was once handed a document that said "Surname:" so I wrote my last name. Then the next line was "Last Name:"...so I wrote my last name, again.
The lady I handed it back to made fun of me for not knowing what "Surname" meant.
Don't both of them mean the same thing?
YES!
Well the field says Name. That's his name.
Happened to me several times. I always wanted to scream, but I had to be quiet so I just thought "AAAAAAAAAAAAAAAA"
That's when you circle the last name and draw an arrow towards the correct field!
LastName = Name[1]
The only right answer... But wouldn't Name[1]
be 'e' in this case? I would add a .split(' ')
to avoid confusion.
So the full answer would be Name.split(' ')[1]
Why do I always over think stuff like this...
Edit: they also shouldn't capitalize variable names
There's a reason I refuse to try parsing names as a string separated by spaces.
Separate fields, bitches.
Love me some JS brother
Could be the middle name though, better use name[name.length-1]
Something about this one really hit me. I think it's his face just blankly staring.
Dude I'm laughing my ass off
Peter Pee Parker
even worse
No, I wasn't there ever. 😄
I feel seen, and I don't appreciate it