From 31e88f3ce0c733b916e4e0f7d792ab398db8e4cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 26 Dec 2022 05:51:39 +0100 Subject: [PATCH] String --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f28467a..e006c61 100644 --- a/README.md +++ b/README.md @@ -313,7 +313,7 @@ String ``` ```python - = in # Checks if string contains a substring. + = in # Checks if string contains the substring. = .startswith() # Pass tuple of strings for multiple options. = .endswith() # Pass tuple of strings for multiple options. = .find() # Returns start index of the first match or -1. diff --git a/index.html b/index.html index 5b7f119..ac1b3f2 100644 --- a/index.html +++ b/index.html @@ -299,7 +299,7 @@ Point(x=1, y=2 <list> = <str>.splitlines(keepends=False) # On [\n\r\f\v\x1c-\x1e\x85\u2028\u2029] and \r\n. <str> = <str>.join(<coll_of_strings>) # Joins elements using string as a separator. -
<bool> = <sub_str> in <str>                  # Checks if string contains a substring.
+
<bool> = <sub_str> in <str>                  # Checks if string contains the substring.
 <bool> = <str>.startswith(<sub_str>)         # Pass tuple of strings for multiple options.
 <bool> = <str>.endswith(<sub_str>)           # Pass tuple of strings for multiple options.
 <int>  = <str>.find(<sub_str>)               # Returns start index of the first match or -1.