String Operations
This lesson showcases some of the most commonly used string operations.
We'll cover the following
The string data type has numerous utilities that make string computations much easier. Let’s get down to the basics.
Comparison Operators
Strings are compatible with the comparison operators. Each character has a Unicode value.
This allows strings to be compared on the basis of their Unicode values.
When two strings have different lengths, the string which comes first in the dictionary is said to have the smaller value.
Let’s look at a few examples:
Get hands-on with 1200+ tech skills courses.