# Remove characters from string
def removeChars(originString,targetChar):
result = []
result = originString.replace(targetChar,'')
return reduce(lambda x,y:x+y,result)
'Study > Useful Source Codes' 카테고리의 다른 글
Python , String to Hex after removing chr (Hex->String) (0) | 2016.01.07 |
---|---|
Python, String to Hex (String->Hex) (0) | 2016.01.07 |