MCPcopy Create free account
hub / github.com/JusticeRage/FFM / strip

Function strip

misc/string_utils.py:117–135  ·  view source on GitHub ↗

Standard strip function, but for whole strings instead of chars. Note that the strings are each evaluated in order and only tested once. :param s: The string to strip. :param strings: The strings to remove (both at the front and at the end). :return: The stripped string.

(s, strings)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_stripMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_stripMethod · 0.68