Do you have any idea on how I would go about making a function that would cut up a string and divide it up based on separation characters? I could take one I found out of someone's plugin but that is petty theft and completely wrong in my book.
This is a simple explanation on how it should work.
Say I send in a string with this infomation in it.
- "Steam:Blah1|Steam:Blah2|Steam:Blah3"
I would specify that the | character is the separation character.
Then it would cut the string up and return this:
Code:
sc_output[0] = "Steam:Blah1"
sc_output[1] = "Steam:Blah2"
sc_output[2] = "Steam:Blah3"
I have no idea how Regular Expressions work so I don't even know if this would be classified in the Regular Expression category. Thanks.
Edit: The person or people who help will be in the credits of the plugin I just started.