(self, val, convlist)
| 738 | return [convlist, leftover] |
| 739 | |
| 740 | def applyConversion(self, val, convlist): |
| 741 | # apply string conversion |
| 742 | encodedval = val.replace(" ", "+") |
| 743 | if convlist!=[]: |
| 744 | for part in reversed(sorted(convlist)): |
| 745 | if encodedval>=part[0]: |
| 746 | val = part[1] |
| 747 | break |
| 748 | |
| 749 | dprint(__name__, 2, "CCmds_applyConversion: {0}", val) |
| 750 | return val |
| 751 | |
| 752 | def applyMath(self, val, math, frmt): |
| 753 | # apply math function - eval |
no test coverage detected