Remove unnecessary multiple array making with `.split()` Reducing lines and making it more terse and readable