substring

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SubstringDynamicOffsetBounded

func SubstringDynamicOffsetBounded[T1, T2 types.BuiltinNumber](src []string, res []string, startColumn []T1, lengthColumn []T2, cs []bool) []string

bound the length parameter, dynamically cut the string

func SubstringDynamicOffsetUnbounded

func SubstringDynamicOffsetUnbounded[T types.BuiltinNumber](src []string, res []string, startColumn []T, cs []bool) []string

Without binding the length parameter, dynamically cut the string

func SubstringFromLeftConstOffsetBounded

func SubstringFromLeftConstOffsetBounded(src []string, res []string, start int64, length int64) []string

bound length parameter. Cut the string from left

func SubstringFromLeftConstOffsetUnbounded

func SubstringFromLeftConstOffsetUnbounded(src []string, res []string, start int64) []string

The length parameter is not bound. Cut the string from the left

func SubstringFromRightConstOffsetBounded

func SubstringFromRightConstOffsetBounded(src []string, res []string, start, length int64) []string

bound length parameter. Cut the string from right

func SubstringFromRightConstOffsetUnbounded

func SubstringFromRightConstOffsetUnbounded(src []string, res []string, start int64) []string

The length parameter is not bound. Cut the string from the right

func SubstringFromZeroConstOffsetBounded

func SubstringFromZeroConstOffsetBounded(src []string, res []string) []string

Per MySQL substring doc, if pos is 0, return empty strings.

func SubstringFromZeroConstOffsetUnbounded

func SubstringFromZeroConstOffsetUnbounded(src []string, res []string) []string

Per MySQL substring doc, if pos is 0, return empty strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL