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
3 months agoEmogene
4 months agoDana
4 months agoAshanti
4 months agoJulianna
4 months agoShonda
4 months agoRasheeda
5 months agoMelinda
5 months agoDaniel
5 months agoThea
5 months agoCeola
5 months agoHerminia
5 months agoMiss
6 months agoMable
6 months agoDaniel
6 months agoSanjuana
6 months agoViva
7 months agoErick
7 months agoLaticia
7 months agoLavera
7 months agoBen
7 months agoKina
8 months agoFrancisca
2 months agoDavida
3 months agoRonald
3 months agoJaime
3 months agoViola
6 months ago