Question : string in solidity
Answered by : joel-mathew
pragma solidity >0.4.0 <=0.9.0;
contract Smart {
string public name = "Joel Mathew";
}
Source : | Last Update : Tue, 03 May 22
Question : string in solidity
Answered by : zaheer-khan
//SPDX-License-Identifier: MIT
pragma solidity ^0.5.13;
contract MyContract { string public myString = 'hello world!';
}
Source : https://ethereum-blockchain-developer.com/031-understanding-abi-and-gas/01-abi-solidity/ | Last Update : Fri, 10 Jun 22