Bash Split First Occurrence Leetcode Solutions