diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-31 23:29:57 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-31 23:29:57 +0000 |
commit | 1aa1c511dd1550acbc9b65e46f6a7fc11273c02e (patch) | |
tree | 3db2802cb6df9549fdabe5da73ca7a3955d4813e /tests/basics/string_strip.py | |
parent | 7ee8e468784480e516d199362ee93a84f42e2594 (diff) | |
parent | 480c15afb52adbb01a257eb4d533bac627eafeb2 (diff) | |
download | micropython-1aa1c511dd1550acbc9b65e46f6a7fc11273c02e.tar.gz micropython-1aa1c511dd1550acbc9b65e46f6a7fc11273c02e.zip |
Merge branch 'master' of github.com:xbe/micropython into xbe-master
Diffstat (limited to 'tests/basics/string_strip.py')
-rw-r--r-- | tests/basics/string_strip.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/string_strip.py b/tests/basics/string_strip.py new file mode 100644 index 0000000000..518dfd66ec --- /dev/null +++ b/tests/basics/string_strip.py @@ -0,0 +1,6 @@ +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")) |