You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
Implement str.split(None).
Note that splitting by explicit string is not implemented so far.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
print("a b".split())
|
||||
print(" a b ".split(None))
|
||||
print(" a b ".split(None, 1))
|
||||
print(" a b ".split(None, 2))
|
||||
print(" a b c ".split(None, 1))
|
||||
print(" a b c ".split(None, 0))
|
||||
print(" a b c ".split(None, -1))
|
||||
Reference in New Issue
Block a user