Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "github.com/Arachnid/solidity-stringutils/strings.sol";
- contract Solidity {
- using strings for *;
- string public s;
- string public ss;
- function foo(string s1, string s2, string s3) {
- s = s1.toSlice().concat(s2.toSlice());
- ss = s.toSlice().concat(s3.toSlice());
- }
- }
Add Comment
Please, Sign In to add comment