--- /dev/null
+import java.util.Scanner;\r
+\r
+/*******************************************************************************\r
+ * Copyright (c) 2007, 2011 Association for Decentralized Information Management in\r
+ * Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
+\r
+public class TestRVI {\r
+ \r
+ \r
+ public static void main(String[] args) {\r
+ String str = "r34534545/r45345/HELLO#VAR";\r
+ Scanner s = new Scanner(str);\r
+ s.useDelimiter("[/#]");\r
+ while (s.hasNext()) {\r
+ System.out.println(s.next());\r
+ } \r
+ }\r
+}\r