Skip to content

Instantly share code, notes, and snippets.

@CHAOWEICHIU
Created May 10, 2020 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CHAOWEICHIU/40734b83998cbf08dcc01ac8ea276fe1 to your computer and use it in GitHub Desktop.
Save CHAOWEICHIU/40734b83998cbf08dcc01ac8ea276fe1 to your computer and use it in GitHub Desktop.
concatenate strings in solidity
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