WWebDevData
  • C Programming▾
    C Programming

    Guides, references and tools

    Everything in the C Programming section, organized by topic.

    Browse all →
    DTData TypesExExamplesFuFunctionsOpOperatorsTNThings Not To DoVaVariables
  • Reference▾
    Reference

    Guides, references and tools

    Everything in the Reference section, organized by topic.

    Browse all →
    PyPython
  • SQL▾
    SQL

    Guides, references and tools

    Everything in the SQL section, organized by topic.

    Browse all →
    ClClause
  • Tools▾
    Tools

    Guides, references and tools

    Everything in the Tools section, organized by topic.

    Browse all →
    BaBase64CMCss MinifierHEHtml EncoderHMHtml MinifierJBJs BeautifierJMJs MinifierJFJson FormatterJJJson JsJTJson TreeJXJson XmlJDJwt DecoderUEUrl EncoderUGUuid GeneratorYJYaml Json
  • Go Back
  1. Home
  2. reference
  3. python
  4. functions

Python functions

Built-in functions, string and list methods, dictionary and set operations. Every entry with a LIVE pill has a live in-browser demo.

Methods on the built-in string type. Immutable — every method returns a new string.

LIVE
str.capitalize
capitalize()
Return a copy with the first character titlecased and the rest lowercased.
LIVE
str.find
find(sub, start=0, end=len(s))
Return the lowest index of a substring, or -1 if absent.
LIVE
str.join
join(iterable)
Concatenate an iterable of strings with this string as the separator.
LIVE
str.lower
lower()
Return a copy of the string with all cased characters lowercased.
LIVE
str.replace
replace(old, new, count=-1)
Return a copy with all occurrences of old replaced by new.
LIVE
str.split
split(sep=None, maxsplit=-1)
Break a string into a list of substrings on a delimiter.
LIVE
str.startswith
startswith(prefix, start=0, end=len(s))
Test whether the string begins with a prefix.
LIVE
str.count
count(sub, start=0, end=len(s))
Count non-overlapping occurrences of a substring.
LIVE
str.strip
strip(chars=None)
Return a copy with leading and trailing characters removed.
LIVE
str.upper
upper()
Return a copy of the string with all cased characters uppercased.
WebDevData

Practical reference guides for SQL, Python and C, plus a growing collection of free developer tools — converters, minifiers, tables and more.

Explore
C ProgrammingReferenceSQLTools
Site
HomeAboutSitemap
Legal
Legal DisclaimerPrivacy PolicyTerms and ConditionsCookie Policy
© 2026 webdevdata.net. All rights reserved.