Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimFunc (0.03 sec)

  1. internal/s3select/sql/stringfuncs.go

    	cutSet := " "
    	if trimChars != "" {
    		cutSet = trimChars
    	}
    
    	trimFunc := strings.Trim
    	switch {
    	case where == nil:
    	case *where == trimBoth:
    	case *where == trimLeading:
    		trimFunc = strings.TrimLeft
    	case *where == trimTrailing:
    		trimFunc = strings.TrimRight
    	default:
    		return "", errInvalidTrimArg
    	}
    
    	return trimFunc(text, cutSet), nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top