Whitespace is the default for .split, so you could not specify it:
word.split.first
Whichever way is easier to read for you is fine, though.