Google Interview Question

Check if string a has prefix string b