protected final String getPageId ( final String parameters ) { if ( parameters != null ) { String cleanedString = parameters ; if ( parameters . contains ( "[" ) ) { cleanedString = cleanedString . replace ( cleanedString . substring ( cleanedString . indexOf ( ' ' ) , cleanedString . lastIndexOf ( ' ' ) + 1 ) , "" ) ; } return cleanedString . substring ( cleanedString . lastIndexOf ( ' ' ) + "/" . length ( ) , cleanedString . length ( ) ) ; } else { return "" ; } }
Gets the page id .