파이썬에서 slicing을 이용하여 문자열을 자르거나, 원하는 문자열만 추출할 수 있습니다. 처음부터 원하는 글자수만큼 자르기, 마지막에서 원하는 글자수만큼 자르기, 특정 Index에서 특정 Index까지 자르기, 다양한 상황에서 Slicing으로 원하는 문자열만 자르는 방법
Thanks for the detailed information! So far I’ve figured out how to make an easy online calculator. I will continue to learn new technologies. Thank you!
Python - 문자열 자르기 (slicing, substring)
파이썬에서 slicing을 이용하여 문자열을 자르거나, 원하는 문자열만 추출할 수 있습니다. 처음부터 원하는 글자수만큼 자르기, 마지막에서 원하는 글자수만큼 자르기, 특정 Index에서 특정 Index까지 자르기, 다양한 상황에서 Slicing으로 원하는 문자열만 자르는 방법
https://codechacha.com/ko/python-substring/