meta data for this page
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
python:str [2021/03/12 13:00] moonrepeat 만듦 |
python:str [2021/03/18 12:38] moonrepeat |
||
---|---|---|---|
줄 1: | 줄 1: | ||
- | ==== Python Str ==== | + | ====== Python Str ====== |
- | 유용한 메소드 | + | ^ String Calculaction ^ String Search ^ Number / Character ^ Space / Strip ^ Encoding / Decoding ^ Lower / Upper ^ Split / Join / Fill | |
- | + | | len() | startswitch() | isalnum() | lstrip() | encode() | islower() | split() | | |
- | || String Calculaction || String Search || | + | | min() | endswitch() | isalpha() | rstrip() | decode() | isupper() | splitlines() | |
+ | | max() | find() | isdigit() | strip() | | lower() | replace() | | ||
+ | | count() | rfind() | isnumeric() | isspace() | | upper() | join() | | ||
+ | | | index() | isdecimal() | center() | | swapcase() | zfill() | | ||
+ | | | rindex() | | | | istitle() | ljust() | | ||
+ | | | | | | | title() | rjust() | | ||
+ | | | | | | | capitalize() | | | ||
+ | ===== String Calulaction ===== | ||
+ | - len() : 문자열 길이 | ||
+ | - [code]>>> a = 'I Love Python' | ||
+ | >>> len(a) | ||
+ | 13[/code] | ||
+ | - min() : | ||
+ | - max() : | ||
+ | - count() : |