strings & Bytes
Strings
Solidity supports String literal using both double quote (") and single quote ('). It provides string as a data type to declare a variable of type String.
pragma solidity ^0.5.0;
contract SolidityTest {
string data = "test";
}
In abov...
blockchainwithjd.hashnode.dev2 min read