Flux strings package
The Flux string package provides functions to manipulate UTF-8 encoded strings.
Import the strings
package:
import "strings"
- strings.compare()
- strings.containsAny()
- strings.containsStr()
- strings.countStr()
- strings.equalFold()
- strings.hasPrefix()
- strings.hasSuffix()
- strings.index()
- strings.indexAny()
- strings.isDigit()
- strings.isLetter()
- strings.isLower()
- strings.isUpper()
- strings.joinStr()
- strings.lastIndex()
- strings.lastIndexAny()
- strings.repeat()
- strings.replace()
- strings.replaceAll()
- strings.split()
- strings.splitAfter()
- strings.splitAfterN()
- strings.splitN()
- strings.strlen()
- strings.substring()
- strings.title()
- strings.toLower()
- strings.toTitle()
- strings.toUpper()
- strings.trim()
- strings.trimLeft()
- strings.trimPrefix()
- strings.trimRight()
- strings.trimSpace()
- strings.trimSuffix()
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.