private int GetBlockLenth(String BlockText) {
	    int nBlockLineCount = 0;

		try {
			if(("" == BlockText)||(null == BlockText)){
				return 0;
			}
			
		    BufferedReader br = new BufferedReader(new StringReader(BlockText));
		    
			while( br.readLine() != null) {
				nBlockLineCount++;
			}

			return nBlockLineCount;
		} catch (IOException e) {
			e.printStackTrace();
			return 0;
		}
	}