Yup indexOf and substring can certainly solve it!