
-----------------------------------
BeepBeepLettuce
Thu Nov 23, 2017 3:53 pm

how to separate parts of a string
-----------------------------------
so i have a long string of data and the different parts that i need are separated by commas
something like "Beep,Boop,1234567,12,23,34,45,56,67,78"

i want to break this string into an array of strings
array(1) "Beep"
array(2) "Boop"
array(3) "1234567"
array(4) "12"
array(5) "23"
etc

i know how to do this using for loops but i was wondering if there was an easier way to separate everything between the commas
kind of like .split in java

-----------------------------------
TokenHerbz
Mon Dec 04, 2017 3:46 am

RE:how to separate parts of a string
-----------------------------------
those are moduals that make it simple to do, you can write your own with ease.

this link should help you with some concepts.

http://wiki.compsci.ca/index.php?title=Turing_String_Manipulation
