首页 > comp > gb > string > comp 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
String.Comp (gb)
Static Function Comp ( String As String, String2 As String [ , Mode As Integer ] ) As Integer

Compares two UTF-8 strings, and returns:

The Mode parameter can be any combination defined in the sort and comparison paragraph in the Predefined Constants page.

Note that the gb.Language comparison flag is always set by default. If you do not want to compare strings according to the current language, use the Comp function.

参见

Predefined Constants, Comp