11-18-2018 07:16 AM
Hello,
I am using a code that concating many different strings and data, but it looks very messy.
Is there a better efficient way to do it?
This is an example for a part where I have to connect all the data:
Thanks
Solved! Go to Solution.
11-18-2018 09:45 AM
The picture is too small to really tell what is going on, but it looks like you have a lot of constants being concatenated together.
When you have a lot of constants, it would be easier to combine them into a single constant. When you have several strings interspersed by a lot of constants, then you should use Format Into String. But the constants into the Format string and use multiple %s placeholders for all the variable values you have coming in. That let's you reduce all the wiring down to a a single function node.
11-18-2018 07:12 PM
@RavensFan wrote:
When you have several strings interspersed by a lot of constants, then you should use Format Into String. But the constants into the Format string and use multiple %s placeholders for all the variable values you have coming in. That let's you reduce all the wiring down to a a single function node.
Here's what RavensFan means:
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
11-18-2018 11:21 PM
Hey RavensFan and James
Thanks a lot, that's exactly what I was looking for.
Shak