Changed Ops.split to use indexOf and substring. Added tests.