Description :

This method returns the character from the given string at the specified index.

Please note that the first character index of the string is "0" and last index is "string.length - 1"

Syntax :


Input Parameters :

The character index to be searched. The value should be as integer

Return Values :

Returns the character if it is found at the specified index otherwise returns empty.

Test this method :

Test Result :   
Your Code :