public static String[] getTokensUsingDelim( String instr, String token )
	{
		if( instr.indexOf( token ) < 0 )
		{
			String[] ret = new String[1];
			ret[0] = instr;
			return ret;
		}
		CompatibleVector output = new CompatibleVector();
		new StringBuffer();
		int lastpos = 0;
		int offset = 0;
		int toklen = token.length();
		int pos = instr.indexOf( token );
		// pos--;
		while( pos > -1 )
		{
			if( lastpos > 0 )// if the line starts with a token
			{
				offset = lastpos + toklen;
			}
			else
			{
				offset = 0;
			}
			String st = instr.substring( offset, pos );
			output.add( st );
			lastpos = pos;
			pos = instr.indexOf( token, lastpos + 1 );
		}
		if( lastpos < instr.length() )
		{
			String st = instr.substring( lastpos + toklen );
			output.add( st );
		}
		String[] retval = new String[output.size()];
		for( int i = 0; i < output.size(); i++ )
		{
			retval[i] = (String) output.get( i );
		}
		return retval;
	}