public static String[] returnParsedStringArray(String wholeText) {
		ArrayList<String> list = new ArrayList<String>();
	//	StringTokenizer tokenizer = new StringTokenizer(wholeText);
		for(int i=0; i<wholeText.length(); i++){
			int max = i;
			boolean tagStart = (wholeText.charAt(i)=='<');
			for(int j=i; j<wholeText.length(); j++){
				boolean tagSymbol = (wholeText.charAt(j)=='>');
				boolean endHere = (tagStart && tagSymbol) || (!tagStart && wholeText.charAt(j)=='<');
				if(!endHere){
					max = j;
				}
				else{
					if(tagStart && tagSymbol){
						max = j;
					}
					break;
				}
			}
			list.add(wholeText.substring(i, max+1));
			i = max;
		}
		String[] arr = new String[list.size()];
		for(int i=0; i<arr.length; i++)
			arr[i] = formatWithoutLeadingOrEndingSpaces(list.get(i));
		return arr;
	}