circuitpython/tests/basics/string_strip.py
2014-01-30 22:16:47 -08:00

7 lines
157 B
Python

print("".strip())
print(" \t\n\r\v\f".strip())
print(" T E S T".strip())
print("abcabc".strip("ce"))
print("aaa".strip("b"))
print("abc efg ".strip("g a"))