diff options
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/runtime/RichString.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/runtime/RichString.scala b/src/dotnet-library/scala/runtime/RichString.scala index 1b087d7ff9..19085eee88 100644 --- a/src/dotnet-library/scala/runtime/RichString.scala +++ b/src/dotnet-library/scala/runtime/RichString.scala @@ -135,6 +135,8 @@ final class RichString(val self: String) extends Seq[Char] with Ordered[String] def split(separator: Char): Array[String] = self.Split(Array(separator)) + def split(separators: Array[Char]): Array[String] = self.Split(separators) + def toByte: Byte = System.Byte.Parse(self) def toShort: Short = System.Int16.Parse(self) def toInt: Int = System.Int32.Parse(self) |