[Add]add string comparison function