How would I set all these erroring values into a table

game.HttpService:GetAsync("https://gist.githubusercontent.com/craigh411/19a4479b289ae6c3f6edb95152214efc/raw/d25a1afd3de42f10abdea7740ed098d41de3c330/List%2520of%2520the%25201,000%2520Most%2520Common%2520Last%2520Names%2520(USA)")

Here’s the table I want to set all the variables inside it to have " on the start and end of each words to fix the table but I’m inaware on how I can do this with the string functions.

Raw Website: https://gist.githubusercontent.com/craigh411/19a4479b289ae6c3f6edb95152214efc/raw/d25a1afd3de42f10abdea7740ed098d41de3c330/List%20of%20the%201,000%20Most%20Common%20Last%20Names%20(USA)

Any help is appreciated!

local D = game.HttpService:GetAsync("https://gist.githubusercontent.com/craigh411/19a4479b289ae6c3f6edb95152214efc/raw/d25a1afd3de42f10abdea7740ed098d41de3c330/List%2520of%2520the%25201,000%2520Most%2520Common%2520Last%2520Names%2520(USA)")

print(D:gsub("%s", ""):split(","))

like this?

2 Likes

Yes, thank you so much for this! Marked as Solution.

1 Like