private String delRemChars ( String pstrSrc ) { int intPos = 0 ; if ( pstrSrc == null ) return null ; while ( ( intPos = pstrSrc . indexOf ( ";" ) ) >= 0 ) { if ( intPos == 0 ) pstrSrc = pstrSrc . substring ( intPos + 1 ) ; else if ( intPos > 0 ) pstrSrc = pstrSrc . substring ( 0 , intPos ) + pstrSrc . substring ( intPos + 1 ) ; } return pstrSrc ; }
This function deletes the remark characters ; from source string