How to return string in 0.5.0 solidity compiler version?
contract Test {
string public text = 'show me';
function test() public view returns (string) {
return text;
}
}
I got error message:
TypeError: Data location must be "memory" for return parameter in function, but none was given.