"Join" block creating spaces in text

Hello, it's me again :slight_smile:
I am having an issue with the join block,


This is my code. This is a path for a picture taken to save to; it saves the picture with the file name as the current address of the user. The "replace all mappings" block erases all spaces and commas. Everything works, however, the join block adds a space after the "replace all mappings" block. This makes the path save as (random location and index number as example):
"SanFranciscoCA
1.png"
Is this a bug or is there something I can do to fix this? I want it to all save as one line, like: "SanFranciscoCA1.png"

Check the values in the dictionary are empty strings and check also index is only "1" and it has not any space.

Anyway, you can use trim block to remove spaces at the end (and the beginning) of the string.

image
This worked!! Thank you :smiley:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.