@ Nonnull public static String getAsHTMLID ( @ Nullable final String sSrc ) { String ret = StringHelper . getNotNull ( sSrc , "" ) . trim ( ) ; ret = StringHelper . removeMultiple ( ret , ID_REMOVE_CHARS ) ; return ret . isEmpty ( ) ? "_" : ret ; }
Convert the passed ID string to a valid HTML ID .