String[] patterns = OurTools.split( searchString, ' ' );
String[] patterns = RegExp.split( searchString, ' ' );
	public void setSearchString( String searchString ) {		this.searchString = searchString;		String[] patterns = OurTools.split( searchString, ' ' );		/* now we have to generate a query-Object for each search pattern */		Query newQuery;			 	for ( int i = 0; i < patterns.length; i++ ) {								newQuery = new Query();				this.workingPattern = patterns[i];								switch ( determineSearchType() )	 {					case AND :											newQuery.setNode( EnumQuery.KEYWORDS );						newQuery.setComment( "Search-pattern:" );						if ( workingPattern != null ){							newQuery.setDefaultValue( workingPattern );							andQuerys.add( newQuery );						}						else if ( i < patterns.length ) {							i++;							workingPattern = patterns[ i ];							newQuery.setDefaultValue( workingPattern );							andQuerys.add( newQuery );						}						/*if AND was last keyword, ignore */																		break;					case ANDNOT :											newQuery.setNode( EnumQuery.KEYWORDS );						newQuery.setComment( "Search-pattern:" );						if ( workingPattern != null ){							newQuery.setDefaultValue( workingPattern );							andNotQuerys.add( newQuery );						}						else if ( i < patterns.length ) {							i++;							workingPattern = patterns[ i ];							newQuery.setDefaultValue( workingPattern );							andNotQuerys.add( newQuery );						}						/*if ANDNOT was last keyword, ignore */																		break;										case OR :						newQuery.setNode( EnumQuery.KEYWORDS );						newQuery.setComment( "Search-pattern:" );						if ( workingPattern != null ){														newQuery.setDefaultValue( workingPattern );							orQuerys.add( newQuery );						}						else if ( i < patterns.length ) {														i++;							workingPattern = patterns[ i ];														newQuery.setDefaultValue( workingPattern );							orQuerys.add( newQuery );						}						/*if OR was last keyword, ignore */																		break;				} 			}	}