ID:157537
 
Okay I am in the midst of creating a software using BYOND to hopefully be distributed outside of BYOND. The Software itself is a type of POS with built in player tracking. My Original effort to save and load information was shot down when BYOND's save-files were unable to be loaded by individual computers unless they were created by that computer. So I am now attempting a different way of saving data. Here is my situation, and I am in need of help because I am either over thinking or under thinking.

I have a page for the sake of this i will say a text file, but I will also need to use this for webpages too.

Information is setup like this:

02192010-1 PlayerBob 08071989
02192010-2 PlayerJames 08061988
02192010-3 PlayerQzark 08061987


When I am looking for this information I will either know the first 10 characters or the players name. However I need all three pieces of information, but this list will consist of hundreds of names and numbers.
SO.. I need to know how to get the specific information and then separate it. I am almost positive that once I get the line of information I can separate it.


Thank you for any help or second opinion you can offer.

Thanks, Brent

You can find text splitting functions in the various text handling libraries like hub://Deadron.TextHandling and hub://Nadrew.StringHandler.

Once you split the file into a list using a newline delimiter you can split it again using a space as a delimiter or another character of your choosing. Now you'll have a list of values.