IBM Interview Question

Write a function to compare two strings and determine if they're the same.