Learning Python
분류 전체보기
(57)
Python
(31)
expres, states
(0)
types
(1)
string
(15)
list
(4)
dic, tuple
(1)
number
(0)
function
(2)
class
(0)
Raspberry Pi
(7)
Html, CSS
(0)
Javascript
(1)
Ubuntu, Bash
(8)
Git
(6)
Regular expression
(3)
Others
(1)
홈
태그
방명록
관리
글쓰기
W3Schools
Wikidocs
LDP
links
/
/
find
2019. 12. 23. 17:57
명령어
find
사용법
문자열a.find(문자열b)
결과
문자열a에서 문자열b를 찾아 offset을 리턴한다.
예시
In [1]: s='spam'
In [2]: s.find('pa')
1
공유하기
게시글 관리
Learning Python
'
Python
>
string
' 카테고리의 다른 글
upper()
(0)
2019.12.26
split
(0)
2019.12.26
replace
(0)
2019.12.26
find
(0)
2019.12.26
join
(0)
2019.12.23
+ Recent posts
Powered by
Tistory
, Designed by
wallel
Rss Feed
and
Twitter
,
Facebook
,
Youtube
,
Google+
티스토리툴바