onlyFirstChar function

String onlyFirstChar(
  1. String input
)

Implementation

String onlyFirstChar(String input) => input[0];