Syntax
hash = Strings.hashString(string);
Description
Returns an Integer hash value of the provided string (the hash
can be any Integer, including zero or a negative number).
Example
hashString("this is a test") // = 1827717433
hashString("Controller.noise1") // = -1025762750
function hashString
extends Modelica.Icons.Function;
input String string "The string to create a hash from";
output Integer hash "The hash value of string";
end hashString;
Date |
Description |
June 22, 2015 |
|
Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39