# Ruby, 66

    a=gets.gsub(/./,?1).to_i
    b=gets.gsub(/./,?1).to_i
    puts'sab'[a<=>b]

Prints `s` for same, `a` for string a, and `b` for string b.

Working on a version that tells you by how much the string is longer.