Roblox interview question

Leetcode check a string for a suffix and split messages