티스토리 뷰

공부

[Python] substring; s[index:]

승가비 2020. 8. 5. 02:42
728x90
s = "abc"
s[0:] => "abc"
s[1:] => "bc"
s[1:2] => "b"

http://b1ix.net/258

 

b1ix | [PYTHON] 문자열 자르기 - substring() 2016-03-18

b1ix | [PYTHON] 문자열 자르기 - substring() 2016-03-18

b1ix.net

 

728x90

'공부' 카테고리의 다른 글

[Python] find(), rfind()  (0) 2020.08.05
[Python] for get index  (0) 2020.08.05
[Python] url open  (0) 2020.07.28
[Python] proxy image respnose content-type  (0) 2020.07.28
[Linux] install python mysql  (0) 2020.07.28
댓글