Reply To: what's the difference here?

Home Forums General Programming what's the difference here? Reply To: what's the difference here?

#83092
Possemo
Participant
    • Topics: 14
    • Replies: 638
    • Total: 652
    • ★★★

    L() prepares a string for Lua string manipulations (that’s why it is called “L”). In some cases when you get a string from a component it won’t work without L() sometimes it does. I guess it depends what you want to do with the string. Commands like e.g. string.gmatch probably need a “converted” string by L().

    Ctrlr