remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/remix-tests/tests/examples_3/simple_string.sol

13 lines
231 B

pragma solidity ^0.5.0;
contract SimpleString {
string public storedData;
constructor() public {
storedData = "Hello world!";
}
function get() public view returns (string memory retVal) {
return storedData;
}
}