目录

hash

此函数返回字符串的哈希值。

语法 (Syntax)

hash(str) 

参数 (Parameters)

  • str - 这是输入字符串。

返回值 (Return Value)

此函数返回字符串的哈希值。

例子 (Example)

/* Main program */ 
options arexx_bifs 
say hash('cde')

当我们运行上述程序时,我们将得到以下结果。

输出 (Output)

44
↑回到顶部↑
WIKI教程 @2018