I am wondering if there if you can dothis in lua. I am planing to get a variable length and adjusting the size of a hud upon that.

Assuming you’re using simple insertions into the table by using table.insert, you can use
[lua]#tbl[/lua]edit: Whoops, I missed that this was a string and not a table.

Yes, it is indeed possible.

Please try googling this stuff before you post here, 90% of the time any questions you have will have been asked here before or the function you are looking for is on the wiki.

Thanks, I did search google but I had no luck :V.