Blockchain CBDE Exam - Topic 5 Question 118 Discussion
To compare a String in Solidity you use:
C) you can't directly compare two strings, but one method would be to hash both strings and compare the hashes.
B) the internal function 'str_compare(str1,str2)'
D) bytes32(string1) == bytes32(string2)
Denny
6 months agoEmogene
7 months agoDana
7 months agoAshanti
7 months agoJulianna
7 months agoShonda
7 months agoRasheeda
8 months agoMelinda
8 months agoDaniel
8 months agoThea
8 months agoCeola
8 months agoHerminia
8 months agoMiss
9 months agoMable
9 months agoDaniel
9 months agoSanjuana
9 months agoViva
10 months agoErick
10 months agoLaticia
10 months agoLavera
10 months agoBen
10 months agoKina
11 months agoFrancisca
5 months agoDavida
6 months agoRonald
6 months agoJaime
6 months agoViola
9 months ago