MCPcopy Create free account
hub / github.com/PageBot/PageBot / stringList2StrippedList

Function stringList2StrippedList

Lib/pagebot/toolbox/transformer.py:293–297  ·  view source on GitHub ↗
(strings)

Source from the content-addressed store, hash-verified

291 return stringList2StrippedList(s.split(','))
292
293def stringList2StrippedList(strings):
294 l = []
295 for string in strings:
296 l.append(string.strip())
297 return l
298
299def filterValue2Int(s):
300 """Filter all numeric characters from the string and answer the resulting

Callers 1

commaString2ListFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected