A
anitawa
Hello,
I want to be able to parse a string and put them into variables.
for example, I have this string:
"Menu: steak_and_egg | date: 0814 | who: Anita"
I want to parse this string to assign variables like so:
menu = "steak_and_egg"
date = "0814"
who = "Anita"
What would be the fastest way of doing this.
Thanks
I want to be able to parse a string and put them into variables.
for example, I have this string:
"Menu: steak_and_egg | date: 0814 | who: Anita"
I want to parse this string to assign variables like so:
menu = "steak_and_egg"
date = "0814"
who = "Anita"
What would be the fastest way of doing this.
Thanks