hash

优质
小牛编辑
122浏览
2023-12-01

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

语法 (Syntax)

hash(str) 

参数 (Parameters)

  • str - 这是输入字符串。

返回值 (Return Value)

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

例子 (Example)

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

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

输出 (Output)

44