Jump to content

Urwigo | Concatenating spaces


BigFurryMonster

Recommended Posts

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?

Link to comment

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...