Scala Char to(end: Char) method with example
The to(end: Char) method is utilized to return a range from the stated character to the 'end', which is given in the arguments list but here "step" is not specified in the arguments list. Method Definition: def to(end: Char): Inclusive[Char] Return Type: It returns the range. Example: 1# Scala // Sc