Anonymous user
Split a character string based on change of character: Difference between revisions
Split a character string based on change of character (view source)
Revision as of 19:14, 27 May 2018
, 6 years ago→{{header|Scala}}
(Scala solution added) |
|||
Line 1,161:
println(runningLength("""gHHH5YY++///\"""))</lang>
See it in running in your browser by [https://scalafiddle.io/sf/c4dp8GT/2
or by [https://scastie.scala-lang.org/mDoBS77YSG2Z7w5xdAPzcw Scastie (JVM)].
=={{header|Sed}}==
|