利用python對字符串處理,取中間的字符

好比 str = "(sdadsafsfsdfdgfdghfhfghgjg)"ip 取出括號裏面的內容:str.strip()[1:-1]
相關文章
相關標籤/搜索