A string is a sequence of characters. You can access the characters one at a time with the bracket operator.
I’m going to declare a variable called team and I will use it for some examples.
Len
The function Len allows you to return the number of characters inside the string. The count starts with number 0
Traversal
This one is very helpful if you want to deal one string character at a time.
Slices
Slices are segment of strings.You could pick up a part of the string with this one.
Immutability
This means that you couldn’t replace an existing variable string at least you create a new one.
Counting
Basically this one allows you to count how many characters appears in a string.
#Mastery26 by jsphsalazar is licensed under a Creative Commons Attribution 4.0 International License.