Jump to content

[TC]Trek

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by [TC]Trek

  1. Hello, i would like to explode string into lines but i dont know how to do it. there is an example what i want function exampleFunction(someString) firstLine = getFirstLine(someString) secondLine = getSecondLine(someString) outputChatBox("Parsed string:") outputChatBox("- Line 1: "..firstLine) -- should print "Abcde_at_1_line" outputChatBox("- Line 2: "..secondLine) -- should print "StartOfSecondLine" end exampleFunction("Abcde_at_1_line\nStartOfSecondLine") can anyone help me please?
×
×
  • Create New...