2021-01-17 21:46:25 +08:00
|
|
|
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
|
2019-01-30 21:27:03 +08:00
|
|
|
//
|
|
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
|
|
// If a copy of the MIT was not distributed with this file,
|
2019-02-02 16:18:25 +08:00
|
|
|
// You can obtain one at https://github.com/gogf/gf.
|
2019-01-30 21:27:03 +08:00
|
|
|
|
2019-02-02 14:22:32 +08:00
|
|
|
// Package gstr provides functions for string handling.
|
2019-01-30 21:27:03 +08:00
|
|
|
package gstr
|
|
|
|
|
2021-02-08 17:57:21 +08:00
|
|
|
const (
|
|
|
|
// NotFoundIndex is the position index for string not found in searching functions.
|
|
|
|
NotFoundIndex = -1
|
|
|
|
)
|
|
|
|
|
2021-08-30 14:29:04 +08:00
|
|
|
const (
|
|
|
|
defaultSuffixForStrLimit = "..."
|
|
|
|
)
|