Problem with "String Index Out Of Bounds Exception"

if (value != null && !value.empty()) println(value.charAt(0));

2 Likes