Package org.boris.expr.function.excel

Examples of org.boris.expr.function.excel.REPLACE


        assertEquals(eval(p, "2-cent\'s worth"), "2-Cent\'S Worth");
        assertEquals(eval(p, "76BudGet"), "76Budget");
    }

    public void testREPLACE() throws Exception {
        REPLACE r = new REPLACE();
        assertEquals(eval(r, "abcdefghijk", 6, 5, "*"), "abcde*k");
        assertEquals(eval(r, "2009", 3, 2, "10"), "2010");
        assertEquals(eval(r, "123456", 1, 3, "@"), "@456");
    }
View Full Code Here

TOP

Related Classes of org.boris.expr.function.excel.REPLACE

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.