Google

def Functions::starts_with( string, test ) string(string).index(string(test)) == 0 end