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!
deleted by creator
Well the field says Name. That’s his name.
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.
Could be the middle name though, better use name[name.length-1]
Happened to me several times. I always wanted to scream, but I had to be quiet so I just thought “AAAAAAAAAAAAAAAA”
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
No, I wasn’t there ever. 😄
- Name
- First name
even worse
I feel seen, and I don’t appreciate it