Hi Everyone
I’m starting to scratch my head a bit.
I’m about to filter a list where I need to replace a 150 with a 121 but for some reason it comes up with 175 which is not in the list. When I filter the rest of the list it works without any problems.
If you can help I would be very happy.
Kind regards
Jacob.
1 Like
Hejsa Jacob
are yióu sure these are the same object type, guess you compare number/interger with string
I feel very confident that the value from Data-Shapers is a String. So when I pass it through Replace string. Is it a String that comes in as a value.
Or am I completely wrong about it.
It works for all the other strings (32,40 etc…)
hmm try check with object type node, but for me it looks like its the size value it output,as its what you feed in in the dropdown value…edit see now you use string from object…can you show the output from that one…probably some digits in your string…but why b´not just let the number go trrough and in your list create use number there as well or maybe as here
1 Like
Solved in an alternative way.
happy it could work for you, but still dont understand why you will work with strings here
String.Replace
replaces a substring. Based on the order of your search/replace lists, you’re replacing 50 with 75 before it can replace 150 with 121.