Magic text:String variable length

Revision as of 15:19, 1 November 2023 by Endercraft (talk | contribs) (Created page with "<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px padding: 10px;">You can use the string variable length magic text with the magic text [strlen=NAME] wh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You can use the string variable length magic text with the magic text [strlen=NAME] where NAME is the name of the desired variable to obtain the length of a specific string variable.
You can use this to for example determine if a string is too large to show to the user without having much lag and instead write it to a file, or use it in a text manipulation with substring option. There are tons of things you can do with magic texts other than that of course.