Package js.lang

Examples of js.lang.NativeString


     * @param value The string to be literalized
     * @return A literal string replacement
     * @since 1.5
     */
    public static String quote(String value) {
        return (String) (Object) new NativeString(value).replace("[-[\\]{}()*+?.,\\\\^$|#\\s]", "\\$&");
    }
View Full Code Here

TOP

Related Classes of js.lang.NativeString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.