[LIB] add two methods for comparing strings using C