Java Find Second Last Index Of Character In String