Problem

Return s.substring(0, 1).

Examples

  • charAtZero("Java") -> "J"
Compile and test (Ctrl+Enter)