MCPcopy Create free account
hub / github.com/ActiveState/code / CheckAttrib

Function CheckAttrib

recipes/Python/496723_Table_FedTable/recipe-496723.py:82–90  ·  view source on GitHub ↗
(HTML)

Source from the content-addressed store, hash-verified

80 return retVal
81
82def CheckAttrib(HTML):
83 sHTML = str(HTML)
84 if Like(sHTML, "* | *"):
85 sp = sHTML.split(" | ")
86 ActualText = sp[0]
87 ExtraAttrb = sp[1]
88 return (ActualText,ExtraAttrb)
89 else:
90 return (sHTML,"")
91
92class Table:
93 def __init__(self, TableAttr = ""):

Callers 1

resultMethod · 0.85

Calls 3

strFunction · 0.85
LikeClass · 0.50
splitMethod · 0.45

Tested by

no test coverage detected