mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
257 B
Solidity
8 lines
257 B
Solidity
contract C {
|
|
function f(string memory a, string memory b, string memory c) public returns (string memory) {
|
|
return string.concat(string.concat(a, b), c);
|
|
}
|
|
}
|
|
// ----
|
|
// f(string,string,string): 0x60, 0x60, 0x60, 2, "ab" -> 0x20, 6, "ababab"
|