+ 1

What is the equivalent to function (method) "length" in java Strings?

Length ("Hello World") = 11

2nd Aug 2020, 3:46 AM
Adriel Mederos
Adriel Mederos - avatar
2 Réponses
+ 5
String str = "Hello World"; Int length = str.length();
2nd Aug 2020, 4:18 AM
Edgar Díaz
Edgar Díaz - avatar