solidity-stringutils
solidity-stringutils copied to clipboard
Member "toSlice" not found or not visible after argument-dependent lookup
I cannot use the library. Even with your own example:
var len = "Unicode snowman ☃".toSlice().len();
The compiler complains:
% solc --abi registry.sol
registry.sol:26:15: Error: Member "toSlice" not found or not visible after argument-dependent lookup in literal_string "Unicode snowman ☃"
uint len = "Unicode snowman ☃".toSlice().len();
^---------------------------^
% solc --v
solc, the solidity compiler commandline interface
Version: 0.3.2-0/Release-Linux/g++/Interpreter