You can use simple old regular expressions:
scala> val LastSpace = " (?=[^ ]+$)"
LastSpace: String = " (?=[^ ]+$)"
scala> "hello there how are you?".split(LastSpace)
res0: Array[String] = Array(hello there how are, you?)
(?=[^ ]+$)says that we will look forward ( ?=) for a group of non-spatial ( [^ ]) characters with a length of at least 1 character. Finally, this space, followed by a sequence, should be at the end of the line: $.
, :
scala> "hello".split(LastSpace)
res1: Array[String] = Array(hello)