#Some random string error

1 messages · Page 1 of 1 (latest)

kind galleon
#

So I have this java String[] list = "13.2"/*example*/.split("") for(int i = 0; i < list.length; i++) { String s = list[i]; if(s == ".") { // do other code } // my code... } but the code can't understand that s == "."... I didn't find any way to make it understand
Please help me

slender pineBOT
#

Hey, @kind galleon!
Please remember to /close this post once your question has been answered!

wanton trellis