Scala List mkString() method with a start, a separator and an end with example
This method is same as mkString() method but here a start, a separator and an end is also included.
Method Definition: defmkString(start: String, sep: String, end: String): String
Return Type: It returns the elements of the list as a string along with a stated start, separator and an end.
Let’s check some examples.
My Personal Notes arrow_drop_up
Please Login to comment...