public String fixSQLName ( String strName ) { int index = 0 ; while ( index != - 1 ) { index = strName . indexOf ( ' ' ) ; if ( index != - 1 ) strName = strName . substring ( 0 , index ) + strName . substring ( index + 1 , strName . length ( ) ) ; } return strName ; }
Take out the spaces in the name .