Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 167 for SUBSTRING (0.05 seconds)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            return !isEmpty(text);
        }
    
        /**
         * Replaces all occurrences of a substring within a string with another string.
         *
         * @param text
         *            The original string.
         * @param fromText
         *            The substring to be replaced.
         * @param toText
         *            The replacement substring.
         * @return The resulting string after replacements.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

            return host.substring(1, host.length - 5).lowercase()
          }
    
          override fun canonicalize(s: String): String = s.lowercase()
        },
    
        PATH {
          override fun urlString(value: String): String = "http://example.com/a${value}z/"
    
          override fun encodedValue(url: HttpUrl): String {
            val path = url.encodedPath
            return path.substring(2, path.length - 2)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. internal/s3select/sql/parser.go

    	CastType string      `parser:" \"AS\" @(\"BOOL\" | \"INT\" | \"INTEGER\" | \"STRING\" | \"FLOAT\" | \"DECIMAL\" | \"NUMERIC\" | \"TIMESTAMP\") \")\" "`
    }
    
    // SubstringFunc represents SUBSTRING sql function
    type SubstringFunc struct {
    	Expr *PrimaryTerm `parser:" \"SUBSTRING\" \"(\" @@ "`
    	From *Operand     `parser:" ( \"FROM\" @@ "`
    	For  *Operand     `parser:"   (\"FOR\" @@)? \")\" "`
    	Arg2 *Operand     `parser:" | \",\" @@ "`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Splitter.java

     * containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n +
     * 1}. So if the separator does not occur anywhere in the input, a single substring is returned
     * containing the entire input. Consequently, all splitters split the empty string to {@code [""]}
     * (note: even fixed-length splitters).
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Splitter.java

     * containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n +
     * 1}. So if the separator does not occur anywhere in the input, a single substring is returned
     * containing the entire input. Consequently, all splitters split the empty string to {@code [""]}
     * (note: even fixed-length splitters).
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  6. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

            for (Map.Entry<String, String> additional : additionalLicenses.entrySet()) {
                String category = additional.getKey().substring(0, 5);
                String family = additional.getKey().substring(5);
                matchers.add(subStringMatcher(category, family, additional.getValue()));
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  7. internal/s3select/sql/funceval.go

    func handleUTCNow() (*Value, error) {
    	return FromTimestamp(time.Now().UTC()), nil
    }
    
    func handleSQLSubstring(r Record, e *SubstringFunc, tableAlias string) (val *Value, err error) {
    	// Both forms `SUBSTRING('abc' FROM 2 FOR 1)` and
    	// SUBSTRING('abc', 2, 1) are supported.
    
    	// Evaluate the string argument
    	v1, err := e.Expr.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeAsString(v1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                if (expandedNames.length > 0) {
                    dr.server = expandedNames[0].substring(1).toLowerCase();
                } else {
                    dr.server = ref.getSpecialName().substring(1).toLowerCase();
                }
                if (log.isDebugEnabled()) {
                    log.debug("Server " + dr.server + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed "
                            + consumed);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            mockRequest.setServletPath(originalPath);
            // Contains "SAStruts.method" as substring in parameter value
            mockRequest.setQueryString("query=SAStruts.methodTest&page=1");
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // Should return super.getServletPath() since query contains "SAStruts.method" substring
            assertEquals(originalPath, webApiRequest.getServletPath());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            validator.validateRawModel(model, request, problems);
    
            return problems;
        }
    
        private void assertContains(String msg, String substring) {
            assertTrue(msg.contains(substring), "\"" + substring + "\" was not found in: " + msg);
        }
    
        @BeforeEach
        void setUp() throws Exception {
            validator = new DefaultModelValidator(new DefaultModelVersionProcessor());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
Back to Top