[:en]Android: string [:]

[:en]


//Never use == as strings are not primitive data type. Instead, use 
.equals()


//String trim:
trim();


//String to Array:
.split(",");



// Int to String
int tmpInt = 10;
String tmpStr10 = String.valueOf(tmpInt);



[:]

Print Friendly, PDF & Email
Scroll to Top