Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/06/25 in all areas

  1. This is perfect, thank you Burak.
    1 point
  2. local exampleTable = {"stringitem1", "stringitem22", "stringitem333", "The Longest String Of Text", "abcde"} function getLongestString(strTable) local str = strTable[1] for i=1,#strTable do if string.len(strTable[i]) > string.len(str) then str = strTable[i] end end return str end print(getLongestString(exampleTable)) --result : The Longest String Of Text try this
    1 point
×
×
  • Create New...