Solidity Concat Strings

[Solved] Solidity Concat Strings | Solidity - Code Explorer | yomemimo.com
Question : solidity concat strings

Answered by : riccardo-biffi

// Solidity v0.8.12+
string.concat(s1, s2)
// Previous versions
string(abi.encodePacked(s1, s2))

Source : https://ethereum.stackexchange.com/questions/729/how-to-concatenate-strings-in-solidity | Last Update : Fri, 08 Jul 22

Question : solidity string concatenation

Answered by : john-appleseed

string(abi.encodePacked("string1", "string2"))

Source : | Last Update : Sat, 30 Apr 22

Answers related to solidity concat strings

Code Explorer Popular Question For Solidity