John Kowalski
0 1 2 3 4 5 6 7 8 9 10 11 12 13
manual slicing
fullName.slice(0, 5)
fullName.slice(5,13)
fullName.slice(5)
automatic slicing by detecting spaces
fullName.slice(0, fullName.indexOf(" "))
fullName.slice(fullName.indexOf(" ") + 1)