I think it's pretty nice in Scala. I don't know if "no virtual machines" was implied as part of the "no script languages" request, though.
scala> "Mary had a little lamb. The lamb was in federal witness protection.".split("lamb")
res0: Array[String] = Array("Mary had a little ", ". The ", " was in federal witness protection.")