Citi interview question

How do you write a program to compare two strings?