Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for rtrim (0.04 sec)

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

            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
            assertEquals("trim", StringUtil.rtrim("trimxxxx", "x"));
            assertEquals("", StringUtil.rtrim("xyz", "xyz"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @return 結果の文字列
         */
        public static final String rtrim(final String text) {
            return rtrim(text, null);
        }
    
        /**
         * 右側の指定した文字列を削ります。
         *
         * @param text
         *            テキスト
         * @param trimText
         *            削る文字列
         * @return 結果の文字列
         */
        public static final String rtrim(final String text, String trimText) {
            if (text == null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. src/main/webapp/js/jquery-3.7.1.min.map

    CSSLeft","curElem","using","rect","win","pageYOffset","pageXOffset","offsetParent","parentOffset","scrollTo","Height","Width","","defaultExtra","funcName","unbind","delegate","undelegate","hover","fnOver","fnOut","rtrim","proxy","holdReady","hold","parseJSON","isNumeric","isNaN","trim","define","amd","_jQuery","_$","$","noConflict"],"mappings":";CAUA,SAAYA,EAAQC,GAEnB,aAEuB,iBAAXC,QAAiD,iBAAnBA,OAAOC,QAShDD,OAAOC,QAAUH,EAAOI,SACvBH,EAASD,GAAQ,GACjB,SAAUK,GACT,IAAMA,EAAED,SACP,MAAM,IAAIE,MAAO,4CA...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/jquery-3.7.1.min.map

    CSSLeft","curElem","using","rect","win","pageYOffset","pageXOffset","offsetParent","parentOffset","scrollTo","Height","Width","","defaultExtra","funcName","unbind","delegate","undelegate","hover","fnOver","fnOut","rtrim","proxy","holdReady","hold","parseJSON","isNumeric","isNaN","trim","define","amd","_jQuery","_$","$","noConflict"],"mappings":";CAUA,SAAYA,EAAQC,GAEnB,aAEuB,iBAAXC,QAAiD,iBAAnBA,OAAOC,QAShDD,OAAOC,QAAUH,EAAOI,SACvBH,EAASD,GAAQ,GACjB,SAAUK,GACT,IAAMA,EAAED,SACP,MAAM,IAAIE,MAAO,4CA...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        if (pair.length == 2) {
                            String sortValue = pair[1].trim();
                            if (StringUtil.isBlank(sortValue) || "score".equals(sortValue)) {
                                sortValue = "score.desc";
                            }
                            return new Pair<>(pair[0].trim(), sortValue);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                    buf.append("</item>");
                }
            }
            buf.append("</list>");
            // TODO support other type
            // TODO trim(default)
            return "<field name=\"" + XmlUtil.escapeXml(name) + "\">" + buf.toString().trim() + "</field>\n";
        }
    
        protected String getAdditionalData(final ResponseData responseData, final Document document) {
            return "";
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            buf.append(LF);
            buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```");
            buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```\"}");
            return buf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. utils/utils_test.go

    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    			name:     "Trim length greater than slice length",
    			input:    []int{1, 2, 3},
    			trimLen:  5,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/html5.js

    r l=[],m=a("#"+e.attr("list"));if(m.find("option").each(function(){l.push(a(this).text())}),0===l.length){var n=a.trim(a("#"+e.attr("list")).text()).split("\n");a.each(n,function(b,c){l.push(a.trim(c))})}m.remove(),a.formUtils.suggest(e,l)}if(b.length){f||(h["data-validation-optional"]="true"),g=!0;var o=(e.attr("data-validation")||"")+" "+b.join(" ");e.attr("data-validation",a.trim(o)),a.each(h,function(a,b){e.attr(a,b)})}}),g&&e.trigger("html5ValidationAttrsFound"),b||f.filter("input[placehold...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser_test.go

    		"substring('abcd' from 2)",
    		"substring('abcd' , 2 , 2)",
    
    		"substring('abcd' , 22 )",
    		"trim('  aab  ')",
    		"trim(leading from '  aab  ')",
    		"trim(trailing from '  aab  ')",
    		"trim(both from '  aab  ')",
    
    		"trim(both '12' from '  aab  ')",
    		"trim(leading '12' from '  aab  ')",
    		"trim(trailing '12' from '  aab  ')",
    		"count(23)",
    	}
    	for i, tc := range validCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top