![]() user would be 'Builderman:like patterns' Local reason = split - Would be: 'like patterns' Local user = split - Would be: 'Builderman' Local str = 'Builderman:like patterns:) really important message here btw!' For example, if you passed ‘Builderman:like patterns:) really important message here btw!’ to the above code or to string.split you would get: -> In the case of string.split: Why should you care? You’ll be able to have more control over what you interpret from the string. ![]() ![]() ) - Prints: The user 'Builderman' would like you to know that they 'like patterns' ('The user \'%s\' would like you to know that they \'%s\''):format(user, reason) String.split is great, but also highly recommend you read up on Lua patternsĮ.g.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |