Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testTrimSuffix (0.07 seconds)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("", StringUtil.rtrim("xyz", "xyz"));
            assertEquals("trimxxxx", StringUtil.rtrim("trimxxxx", "y"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTrimSuffix() throws Exception {
            assertEquals("aaa", StringUtil.trimSuffix("aaaLogic", "Logic"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTrimPrefix() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top