Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Python
(view source)
Revision as of 09:10, 5 April 2015
91 bytes added
,
09:10, 5 April 2015
→String
Line 69:
Line 69:
str.capitalize() → Uppercases 1st char
str.capitalize() → Uppercases 1st char
str.center(width[, fillchar])
str.center(width[, fillchar])
+
str.startswith(preffix[, start[, end]])
str.endswith(suffix[, start[, end]])
str.endswith(suffix[, start[, end]])
str.find(substring[, start[, end]])
str.find(substring[, start[, end]])
Line 76:
Line 77:
str.replace(old, new[, count])
str.replace(old, new[, count])
</source>
</source>
+
+
len(MyString) → returns the lenght of a string
+
=== Collections ===
=== Collections ===
==== List ====
==== List ====
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version