Copyright (c) Hyperion Entertainment and contributors.
AmigaOS Manual: Python Methods: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
| Line 8: | Line 8: | ||
== .center() == |
== .center() == |
||
<nowiki>object.center(width, fillchar)</nowiki> |
|||
== .count() == |
== .count() == |
||
== .decode() == |
== .decode() == |
||
Revision as of 17:50, 11 February 2021
Built-in Methods for Strings
.capitalize()
object.capitalize()
Capitalizes the first letter of the string object.
.center()
object.center(width, fillchar)
.count()
.decode()
.encode()
.endswith()
.expandtabs()
.find()
.index()
.isalnum()
.isalpha()
.isdecimal()
.isdigit()
object.isdigit()
Returns true if the string object contains only digits.
.islower()
.isnumeric()
.isspace()
.istitle()
.isupper()
.join()
.len()
object.len()
Returns the length of the string object.