You are on page 1of 1

String str = "Jack Jade"; int x = str.lastIndexOf('J', 4); System.out.

println(x);

You might also like