Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help with string manipulation?

I made a website that displays a number when you add a ?something=key. I am using HttpService to get the page content but I don't know how to set a value to that number/find the number.

If I print the request it returns something like this:

245507596default4Testingkey accepted

SERVER_1ID: 245507596ONLINE: 4/12STATUS: Testing

What I need to get from this is the players online(ONLINE: 4/12 <-- this will change) and the server status(STATUS: Testing <-- this will change too)

Is there a way to do that with string manipulation functions?

1 answer

✓ Accepted answer

Yes. According to the ROBLOX wiki, using GetAsync returns a string, so you can use string manipulation functions to find what you need. If you need a tutorial on using string manipulation, I can provide one (I didn't provide it initially because I don't have access to Studio).

This discussion is preserved as it was. New answers, comments, and votes are closed.