Simple concatenation of two strings

I’m trying to do what I’d have expected to be one of the simplest things possible: concatenate the value of a variable with another literal string in a json object.

The problem is that no matter what I try I end up with quotes in places I don’t want them. For example "\"post\"_created". That’s the output from this setup:

I’ve tried concatenating with + between strings, there seems to be no concat function (despite what Claude says).

I’m clearly missing something very obvious since this must be a common use case.

Any guidance appreciated.

Are you sure you don’t already have “” in the string? Because this seems to be working:
blueprint (5).json (4.0 KB)

Can you share the output of module 18 so we can see what the value of postType is?

Sure thing.

Oh, maybe it’s not necessary to enclose a string literal in quotes in Make?

Yeah.

Unless you don’t specifically need “” in the output, you don’t need to place them.

3 Likes

Yeah, just tested it. I guess I figured that would be a symbol/variable without the quotes. Wish I’d asked earlier!

Thanks for the super fast reply!

2 Likes