coderz.py

Keep Coding Keep Cheering!

String Functions – II

Table of Python String Methods. Function Name  Description capitalize() The string’s first character is changed to an uppercase (capital) letter. casefold() Implements caseless string matching center() Add the requested character to the string as padding. count() Returns the number of occurrences of a substring in the string. encode() Encodes strings with the specified encoding scheme […]

November 24, 2022 | python | No comments

Advertisement