Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • using var in the example is ugly, but this solution is the one that best addresses the actual question. The original question was about how to increment chars - using "toChar" to convert back to a char is the relevant bit : (c+1) .toChar Commented Jul 11, 2021 at 8:03