Guest User

Untitled

a guest
Jan 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. import "github.com/Arachnid/solidity-stringutils/strings.sol";
  2.  
  3. contract Solidity {
  4. using strings for *;
  5. string public s;
  6. string public ss;
  7.  
  8. function foo(string s1, string s2, string s3) {
  9. s = s1.toSlice().concat(s2.toSlice());
  10. ss = s.toSlice().concat(s3.toSlice());
  11. }
  12. }
Add Comment
Please, Sign In to add comment