added stringEndsWith