Daily Archives: 2008年7月2日
Python: 文字列の検索 – index()、reindex()メソッド
ソースコード #!/usr/bin/python # coding: UTF-8 # 文字列の検索 | index(), reindex()の使い方 s1 = ‘Hello, Jan !’ # 引数(パターン)が1文字の … Continue reading
ソースコード #!/usr/bin/python # coding: UTF-8 # 文字列の検索 | index(), reindex()の使い方 s1 = ‘Hello, Jan !’ # 引数(パターン)が1文字の … Continue reading