The strings Package
Let’s learn about the strings package.
We'll cover the following...
The strings
standard Go package allows us to manipulate UTF-8 strings in Go and includes many powerful functions. Many of these functions are illustrated in the useStrings.go
code file.
Note: If we are working with text and text processing, we definitely need to learn all the gory details and functions of the
strings
package, so let’s make sure that we experiment with all these functions and create many examples that will help us to clarify things.
Creating global aliases
The most important parts of useStrings.go
are the following:
Access this course and 1400+ top-rated courses and projects.