public static String replaceSection( String originalText, String replaceBegin, String replacementText, String replaceEnd )
	{
		StringBuffer sb = new StringBuffer( originalText.length() );
		if( (originalText.indexOf( replaceBegin ) < 0) || (originalText.indexOf( replaceEnd ) < 0) )
		{
			return originalText;
		}
		int begidx = originalText.indexOf( replaceBegin );
		int endlen = replaceEnd.length();
		int endidx = originalText.indexOf( replaceEnd ) + endlen;
		int holder = 0;
		if( begidx < endidx )

		{
			sb.append( originalText.substring( 0, begidx ) );
			sb.append( replacementText );
			sb.append( originalText.substring( endidx ) );
		}
		else
		{
			while( (begidx > endidx) && (endidx > -1) )
			{
				holder = endidx;
				endidx = originalText.indexOf( replaceEnd, holder + 1 );
			}
			if( (begidx < endidx) && (endidx > -1) )
			{
				sb.append( originalText.substring( 0, begidx ) );
				sb.append( replacementText );
				sb.append( originalText.substring( endidx + endlen ) );
			}
		}
		return sb.toString();
	}