完善String类的比较函数compare().

Signed-off-by: shines77 <gz_shines@msn.com>