What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-29 17:30:03
string length in android studio
text = et.getText().toString(); if (text == null || text.length() < 3 || text.length > 8) { tv.setText("Invalid length, should be from 3 to 8 characters. Please check your code"); } else { a = text.substring(0,1); b = text.subs... Add solution