We've all been there
![](https://kbin.cafe/media/cache/resolve/entry_thumb/a7/3b/a73ba82c8eaa73c9a0f39c41fbd21e7492a3d7c0e9da45ea6131421dcebaa155.jpg)
Kaltenzahn, ![]()
No, I wasn't there ever. 😄
sib, LastName = Name[1]
illectrility, ![]()
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
PeWu, Love me some JS brother
ShittyKopper,
jannis, Could be the middle name though, better use name[name.length-1]
Pitri, ![]()
- Name
- First name
even worse
Cube6392, ![]()
I feel seen, and I don't appreciate it
GreenCrush, ![]()
Something about this one really hit me. I think it's his face just blankly staring.
arefx, Dude I’m laughing my ass off
Ypsilenna, ![]()
Happened to me several times. I always wanted to scream, but I had to be quiet so I just thought “AAAAAAAAAAAAAAAA”
Redex68, Screams internally
ImplyingImplications, 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.
Esjee, ![]()
Don't both of them mean the same thing?
ImplyingImplications, YES!
Tango, ![]()
That’s when you circle the last name and draw an arrow towards the correct field!
radioactiveradio, Peter Pee Parker
Add comment