Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 2c554e3

Browse files
committed
Added string methods placeholder
1 parent feded96 commit 2c554e3

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

src/basics/stdtypes.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,51 @@ Mutable sequence types
238238
Text sequence type
239239
==================
240240

241+
String methods
242+
--------------
243+
244+
Strings implement all of the common sequence operations, along with the
245+
additional methods.
246+
247+
.. todo: methods to be described
248+
str.capitalize()
249+
str.center()
250+
str.count()
251+
str.encode()
252+
str.endswith(suffix)
253+
str.expandtabs(tabsize=8)
254+
str.find(sub)
255+
str.format()
256+
str.index(sub)
257+
str.isalnum()
258+
srt.isalpha()
259+
str.isascii()
260+
str.isdecimal()
261+
str.isdigit()
262+
str.islower()
263+
str.isnumeric()
264+
str.isprintable()
265+
str.isspace()
266+
str.istitle()
267+
str.isupper()
268+
str.join()
269+
str.ljust()
270+
str.lower()
271+
str.lstrip()
272+
str.replace()
273+
str.rfind()
274+
str.rindex()
275+
str.rjust()
276+
str.rsplit()
277+
str.rstrip()
278+
str.split()
279+
str.splitlines()
280+
str.startswith(prefix)
281+
str.strip()
282+
str.swapcase()
283+
str.title()
284+
str.upper()
285+
241286
Value comparisons
242287
-----------------
243288

0 commit comments

Comments
 (0)