goingergoinger のブックマーク 2014/07/28 18:01

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Best way to strip punctuation from a string

    It seems like there should be a simpler way than: import string s = "string. With. Punctuation?" # Sample string out = s.translate(string.maketrans("",""), string.punctuation) Is there?

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう