字符串校正有可能很复杂,因为必须按照已知的校对规则来比较两个字符串,该规则毫无疑问是特定于脚本和特定于语言的。
String collation can prove tricky because comparing two strings has to happen under known collation rules, which are invariably script - and language-specific.
XPath 2.0仅定义了一种排序uri,即Unicode代码点排列法,字符串根据每个字符的Unicode代码点进行比较。
The only collation URI defined by XPath 2.0 is for the Unicode code point collation, according to which strings are compared by the Unicode code points of their individual characters.
使用标准的C字符串函数或您习惯使用的字符串库对通用名和主机名进行比较。
Using the standard C string functions or your favorite string library, compare the common name and the host name.
例如,如果依赖于字符串内部化,但是所使用的解析器又不支持该特性,那么应用程序就必须使用equals来比较字符串。
For instance, if you rely on string internalization but the parser you are using does not support it, your application must compare strings using equals .
要把元素或属性和字符串进行比较,或者将其传递给需要字符串参数的函数,必须使用(string)强制转换成字符串。
To compare an element or attribute with a string or pass it into a function that requires a string, you must cast it to a string using (string).
这里不需要调用一个字符一个字符地进行比较的equals函数,相反,您可以通过引用将解析器报告的名称与字符串常量进行比较。
Instead of making calls to equals which compares strings character by character, you can compare names reported by the parser against string constants by reference.
in _ word_set:该例程使用hash确定某个字符串是否属于用户提供的列表,大多数情况下只使用一个字符串比较。
In_word_set: This routine USES hash to determine whether a particular string belongs to the user-supplied list, using one string comparison in the most common case.
除了一种例外,XSLT 1.0总是按照每个Unicode字符的代码点比较字符串。
With one exception, XSLT 1.0 always compared strings on the basis of the code points of their individual Unicode characters.
两个字符串的区域敏感比较依赖于字符串中的每一个字符,有几个排序权重类别,包括语言、字母、大小写和音调符号权重。
A culture-sensitive comparison of two strings depends on each character in the strings having several categories of sort weights, including script, alphabetic, case, and diacritic weights.
我该如何比较两个字符串查找的字符数r相匹配?
How can I compare two strings to find the number of characters that match in r?
对于此问题的解决方法是对每个字符串进行正常化,然后使用序号比较对字符串进行排序。
The solution to this problem is to normalize each string, then use an ordinal comparison to sort the strings.
在这种情况下,你可以把哈希表存储在字符串数组中,然后你可以计算字符串的哈希值,然后与已经存储的字符串的哈希值进行比较。
In this scenario, you could store hashes in the array with the strings. Then you could compute the hash of the other string and compare it to the stored hashes.
有一个函数来比较字符串到一个更大的字符串?
这使您能够对这些字符串进行对象比较,而不是开销更大的字符串比较。
This enables you to do object comparisons on these strings rather than a more expensive string comparison.
比较字符串与另一个字符串的索引?
我们也必须记住,不要把文字字符串分行,除非我比较的字符串有同样的分行。
We must also remember not to break the literal string into separate lines, unless the string we are comparing to is similarly broken.
确定使用指定的比较选项进行比较时此字符串实例的结尾是否与指定的字符串匹配。
Determines whether the end of this string instance matches the specified string when compared using the specified comparison option.
此警告意味着在应当使用字符串比较函数的位置使用了字符串复制函数。
This warning indicates that a string copy function was used where a string comparison function should have been used.
确定在使用指定的比较选项进行比较时此字符串实例的开头是否与指定的字符串匹配。
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option.
桥梁的设计比较简陋,只能由字符串与对他们包裹电线的紧张,在举行一个字符串爆发的情况下鞍。
The bridge's design was rather crude, having saddles that were held in place only by string tension with a wire wrapped over them in case a string broke.
桥梁的设计比较简陋,只能由字符串与对他们包裹电线的紧张,在举行一个字符串爆发的情况下鞍。
The bridge's design was rather crude, having saddles that were held in place only by string tension with a wire wrapped over them in case a string broke.
应用推荐