+BigFurryMonster Posted November 6, 2024 Posted November 6, 2024 I'm trying to get Urwigo to display A B with A and B variables, and a space in between. Using Concatenate <A> + " " + <B> should do the trick, but the space in the middle disappears when re-loading the project in the builder. Tried via a variable, but no luck either. Can I use any code here? Quote
+capoaira Posted November 6, 2024 Posted November 6, 2024 Do you write lua code? Strings can be concatenated with `..`, so `A .. " " .. B` should work. In case you use the Urwigo blocks, it can be a bug, then I recommend you to use the lua block. Note that you must give the variables names for lua code (special field when created a urwigo variable) Or maybe you can just use the lua code block to add the space in the urwigo string concatenation. Quote
+BigFurryMonster Posted November 13, 2024 Author Posted November 13, 2024 Thanks for this. I don't write Lua code, but I know someone who does, so I'll take it from there. Nasty little bug, this is. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.