1 import java.util.Scanner;
3 /*******************************************************************************
4 * Copyright (c) 2007, 2011 Association for Decentralized Information Management in
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
12 * VTT Technical Research Centre of Finland - initial API and implementation
13 *******************************************************************************/
15 public class TestRVI {
18 public static void main(String[] args) {
19 String str = "r34534545/r45345/HELLO#VAR";
20 Scanner s = new Scanner(str);
21 s.useDelimiter("[/#]");
23 System.out.println(s.next());