Roblox Interview Question

A searching/counting problem, and a string manipulation/parsing problem.