Skip to content

Commit 5e8eedd

Browse files
committed
update
1 parent 0c6a582 commit 5e8eedd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Python Tutorial/Strings.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ print(S)
240240
|endswith() |Python string endswith() function returns True if the string ends with the given suffix, otherwise it returns False. |
241241
|capitalize() |Python String capitalize() function returns the capitalized version of the string. |
242242
|center() |Python string center() function returns a centered string of specified size. |
243-
|casefold() |Python string casefold() function returns a casefolded copy of the string. This function is used to perform case-insensitive | | | string comparison. |
243+
|casefold() |Python string casefold() function returns a casefolded copy of the string. This function is used to perform case-insensitive | | |string comparison. |
244244
|expandtabs() |Python string expandtabs() function returns a new string with tab characters (\t) replaced with one or more whitespaces. |
245245
|index() |Python String index() function returns the lowest index where the specified substring is found. |
246-
|__contains__() |Python String class has __contains__() function that we can use to check if it contains another string or not. We can also use | | |“in” operator to perform this check. |
246+
| __contains__()|Python String class has __contains__() function that we can use to check if it contains another string or not. We can also use | | | “in” operator to perform this check. |
247+

0 commit comments

Comments
 (0)