W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_ref_string_split_3.py:
txt = "apple#banana#cherry#orange" x = txt.split("#") print(x)
x
txt
=
"apple#banana#cherry#orange"
x
=
txt
.
split
(
"#"
)
print
(
x
)