myString.substring comparison
in
Programming Questions
•
1 years ago
Hello,
I read this tring using UPD and it is read correctly: C/1\james,2PC9
I do cut first 3 chars into a variable:
Peter
I read this tring using UPD and it is read correctly: C/1\james,2PC9
I do cut first 3 chars into a variable:
- String code = myString.substring(0,3);
- String login = "C/1";
- if( code == login )
Peter
1