Utils.scala 197 Bytes
Newer Older
Christian Müller's avatar
Christian Müller committed
1 2 3 4 5 6 7 8
package de.tum.workflows

object Utils {
  
  def mkString[T](string: Iterable[T], start: String, mid: String, end:String) = {
    if (string.isEmpty) "" else string.mkString(start, mid, end)
  }
}