Returning The Different Characters Of String From Start& End

Write code here

J | B | A
Note: We DO NOT save your trial code in our database.

Output