Created
May 10, 2020 01:10
-
-
Save CHAOWEICHIU/40734b83998cbf08dcc01ac8ea276fe1 to your computer and use it in GitHub Desktop.
concatenate strings in solidity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function append(string a, string b, string c, string d, string e) internal pure returns (string) { | |
return string(abi.encodePacked(a, b, c, d, e)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment