rice-framework/krad-web/src/main/webapp/krad/scripts/krad.url.js
/**
 * Strips off delimiters from string
 *
 * @param string to strip delimiter from
 * @return {*} updated string
 */
Strips off delimiters from string

@param string to strip delimiter from
@return {*} updated string
Strips off delimiters from string @param string to strip delimiter from @return { * } updated string
function stripDelimiters(str) {
    if ((str.length > 0) && (str.substring(0, 1) == '#')) {
        str = str.substring(1);
    }
    if ((str.length > 0) && (str.substring(0, 1) == '?')) {
        str = str.substring(1);
    }
    if ((str.length > 0) && (str.substring(0, 1) == '&')) {
        str = str.substring(1);
    }
    return str;
}
function stripDelimiters ( str ) { if ( ( str . length > 0 ) && ( str . substring ( 0 , 1 ) == '#' ) ) { str = str . substring ( 1 ) ; } if ( ( str . length > 0 ) && ( str . substring ( 0 , 1 ) == '?' ) ) { str = str . substring ( 1 ) ; } if ( ( str . length > 0 ) && ( str . substring ( 0 , 1 ) == '&' ) ) { str = str . substring ( 1 ) ; } return str ; }
Strips off delimiters from string
Strips off delimiters from string