Citi Interview Question

How do you write a program to compare two strings?