/**
 * Returns the first 'n' characters of the given string.
 * 
 * Example:
 * getFirstNCharacters("firefighter", 3) should return "fir"
 */
fun getFirstNCharacters(string: String, n: Int): String {

    return string.substring(0 until n)
}
/**
 * Returns the first 'n' characters of the given string.
 * 
 * Example:
 * getFirstNCharacters("firefighter", 3) should return "fir"
 */
fun getFirstNCharacters(string: String, n: Int): String {
/**
 * Returns the first 'n' characters of the given string.
 * 
 * Example:
 * getFirstNCharacters("firefighter", 3) should return "fir"
 */
fun getFirstNCharacters(string: String, n: Int): String {

    return string.substring(0 until n)
}