Answers for "how to parse string in python"

2

python parse string

msg = "hi#my#name#is#alon"
msg = msg.split("#")
print(msg)
#output: ["hi", "my", "name", "is", "alon"]
Posted by: Guest on May-09-2020

Code answers related to "how to parse string in python"

Python Answers by Framework

Browse Popular Code Answers by Language