Checks whether a string is a permutation of another string.