re: Daily Challenge #103 - Simple Symbols VIEW POST

TOP OF THREAD FULL DISCUSSION
re: This solution assumes that the only other character is =. No idea if you can assume this

The string will be composed of + and = symbols with several characters between them.

If I'm reading this correctly, it means that the characters are categorized into three categories:

  1. +
  2. =
  3. Other

So any character other than + and = must be surrounded by +s - which is exactly what my version checks.

code of conduct - report abuse