Go package xstrings is a collection of string functions, which are widely used in other languages but absent in Go package strings. All functions are well tested and carefully tuned for performance. Go functions have a unique naming style. One, who has experience in other languages but new in Go, may have difficulties finding out right string function to use. RightJustify returns a string with pad string at left side if str's rune length is smaller than length. If str's rune length is larger than length, str itself will be returned. If there is one alphanumeric rune is found in string, increase the rune by 1. If increment generates a "carry", the rune to the left of it is incremented. This process repeats until there is no carry, adding an additional rune if necessary. ToCamelCase is to convert words separated by space, underscore and hyphen to camel case.

Features

  • Package xstrings functions
  • This library is licensed under MIT license
  • Package strings functions
  • Use go get to install this library
  • Map functions to their friends in other languages

Project Samples

Project Activity

See All Activity >

Categories

Algorithms

License

MIT License

Follow xstrings

xstrings Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xstrings!

Additional Project Details

Programming Language

Go

Related Categories

Go Algorithms

Registered

2022-02-25