python3中str的函数# 转换
#  'capitalize',
#  'lower',
#  'upper',
#  'casefold',
#  'swapcase',  ⼤⼩写互换
#  'title',
#  'strip',
#  'rstrip',
#  'lstrip',
#  'replace',  替换
#  'maketrans', 转换
#  'translate',
# 增加字符到指定的长度
python index函数#  'center',
#  'ljust',
#  'rjust',
#  'zfill'
# 查字符串
#  'count',
#  'find', 没有返回-1
#  'rfind',
#  'index',  功能和find⼀样,但是若没到会报错ValueError
#  'rindex',
# 编码
#  'encode',
# 判断是否
#  'startswith',
#  'endswith',
#  'expandtabs',
#  'isalnum',
#  'isalpha',
#  'isdecimal',
#  'isdigit',
#  'isidentifier',
#  'islower',
#  'isnumeric',
#  'isprintable',
#  'isspace',
#  'istitle',
#  'isupper',
# 格式化
#  'format',
#  'format_map',
# 拆分
#  'split',
#  'rsplit',
#  'splitlines',
#  'partition',
#  'rpartition',
# 联合
#  'join',