当然,正则表达式被限定为严格的字符串比较。
Of course, regular expressions are limited to strict string comparisons.
经过实验,我还发现循环字符串比较操作速度都非常快。
Experimentally, I also found that a looping string comparison is faster than taking a slice.
这可以确保在查询中使用日期比较,而不是标准的字符串比较。
This ensures that the date comparison is used in the query, rather than standard string comparison.
STUDENT: Good question. Sounds like a reasonable guess How in the world am I going to compare a string to a number?
学生:不可闻的声音:,很好的问题,听起来像一个很合理的猜测,我到底该怎么对一个字符串,和一个数字进行比较呢?
And this is a place where it's comparing strings and numbers in a strange way.
这里其实是对字符串和数字,以一种相当奇怪的方式进行比较的。
应用推荐