python之str字符串内部功能目录
2021-07-13 07:07
标签:case lower form 字符串 format tar sprint end isa capitalize ---------------------------- 首单词字母变大写 python之str字符串内部功能目录 标签:case lower form 字符串 format tar sprint end isa 原文地址:https://www.cnblogs.com/change06/p/9542505.html
casefold ------------------------------ 全部字母变成小写
center -------------------------------- 设置字体居中显示
count --------------------------------- 统计字符串里某个字符出现的次数
encode -------------------------------- 编码,针对unicode
endswith ------------------------------ 是否以 xxx 结束
expandtabs ----------------------------
find ----------------------------------
format --------------------------------
format_map ----------------------------
index ---------------------------------
isalnum -------------------------------
isalphaasd ----------------------------
isdecimal -----------------------------
isdigit -------------------------------
isidentifier --------------------------
islower -------------------------------
isnumeric -----------------------------
isprintable ---------------------------
isspace -------------------------------
istitle -------------------------------
isupper -------------------------------
join ----------------------------------
ljust ---------------------------------
lower ---------------------------------
lstrip --------------------------------
maketrans -----------------------------
partition -----------------------------
replace -------------------------------
rfind ---------------------------------
rindex --------------------------------
rjust ---------------------------------
rpartition ----------------------------
rsplit --------------------------------
rstrip --------------------------------
split ---------------------------------
splitlines ----------------------------
startswith ----------------------------
strip ---------------------------------
swapcase ------------------------------
title ---------------------------------
translate -----------------------------
upper ---------------------------------
zfill ---------------------------------
下一篇:进程与线程的区别
文章标题:python之str字符串内部功能目录
文章链接:http://soscw.com/index.php/essay/104533.html