Scala Mutable SortedMap mkString() method with a start, a separator and an end with example
This method is same as mkString() but here a start, a separator, and an end is also added.
Method Definition: defmkString(start: String, sep: String, end: String): String
Return Type: It returns the elements of the SortedMap as a string along with a stated start, separator and an end.
>>>cs -> 2|for -> 3|geeks -> 5--
>>>for -> 3|geeks -> 5--