Alright so I have a trello card and I can get the description by using Trello:GetDesc() but what I need to figure out what line of the description the text is on. So the idea is there are two lines, one is the players rank one is the players username
How would I get line 1 and line 2 separately and how would I tell them apart? Any information helps.
EDIT:
I think I've done it using string.split()
local Card = Title local Str = Card:GetDesc() local StrTable = Str:split(":") for i,v in pairs(StrTable) do local NewTitleText = ""..i local NewRankText = ""..v local Frame = ui.Frame Frame.TitleText.Text = NewTitleText Frame.RankText.Text = NewRankText
However i is showing as "2" when it should be my username "TommyHArden" the trello card is formatted exactly like this "TommyHArden:Owner" without the speech marks