#mkstring

[ follow ]
Alvinalexander
1 month ago
Scala

How to convert a Scala Array/List/Seq (sequence) to string with mkString

Using mkString method of Array class can convert Scala sequence (like Array, List, Seq) to a String.
mkString function can be customized with any separator string to format the output as desired. [ more ]
medium.com
3 months ago
Scala

Scala String Program 1

The leet code program demonstrates the use of zipAll, map, and mkString functions.
These functions can be used to merge collections, combine pairs, and concatenate elements. [ more ]
[ Load more ]