gf/text/gstr/gstr.go

18 lines
487 B
Go
Raw Normal View History

2021-01-17 21:46:25 +08:00
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
//
// 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,
// You can obtain one at https://github.com/gogf/gf.
2019-02-02 14:22:32 +08:00
// Package gstr provides functions for string handling.
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 = "..."
)