equal
deleted
inserted
replaced
163 a = 'hello' |
163 a = 'hello' |
164 a[0] = 'H' |
164 a[0] = 'H' |
165 |
165 |
166 As said earlier, strings are immutable. We cannot manipulate a |
166 As said earlier, strings are immutable. We cannot manipulate a |
167 string. Although there are some methods which let us manipulate |
167 string. Although there are some methods which let us manipulate |
168 strings. We will look at them in the advanced session on strings. In |
168 strings, we will look at them in the advanced session on strings. In |
169 addition to the methods that let us manipulate the strings we have |
169 addition to the methods that let us manipulate the strings we have |
170 methods like split which lets us break the string on the specified |
170 methods like split which lets us break the string on the specified |
171 separator, the join method which lets us combine the list of strings |
171 separator, the join method which lets us combine the list of strings |
172 into a single string based on the specified separator. |
172 into a single string based on the specified separator. |
173 |
173 |