How to get first and last character of String in Java - Example

How to get first and last character of String in Java - Example

More to explore