$str.charsum Returns the sum of the character codes of the string |
Usage |
<int> $str.charsum(<data:string>[,<bCaseInsensitive:boolean>]) |
Description |
Returns the sum of the character codes of the parameter <string>.
The sum is suitable for implementing a simple hashing algorithm. If <bCaseInsensitive> is specified and $true then the string will be converted to toLowercase first. |