1 Matching Annotations
- Sep 2020
-
greenteapress.com greenteapress.com
-
- A String is a sequence of character.you can access the character using bracket operator.
- In string the expression in brackets is called index it calculates the character from 0.
- In index we can do operations and if it is not in integer it gives you error.
- Len means it is a built in function that returns the number of characters in the string.
- A lot of computations involve processing a string and while doing it will do from beginning with each and every string.it is known as traversal wit for loop in string.
- String slice means we can divide a word into two and we can do concatenation.
- In string we cannot use some operators we can only use some operators like in, as,etc.
- . String is immutable we cannot change .
-