Meta interview question

write a function to compare two strings