substring

A run of consecutive characters inside a longer string, such as "ssi" in "Mississippi".

In more detail

You can test for one with in, find where it starts with find, count occurrences with count and extract one with a slice. Substrings are always new strings; extracting one never changes the original.

Related terms

Taught in

References

Certification courses