I use typecast a lot. It's the perfect function to turn clusters into a string and vice versa when doing tcp or udp communication. Unfortunately it breaks when the cluster contains a string or array. If I pass a cluster containing a five character string and a U32, it should give 9 characters out.
The main complication seems to be turning that same 9 character string back into a cluster, without size info on the string Type Cast doesn't know how many bytes go to the string. That could be pushed back to the user and require the cluster wired to the 'type' input to have the expected number of characters in the string or elements in the array.
I looked at Flatten To String, but if you pass a cluster containing a string it always prepends the string length in the flattened output.
I haven't yet had a chance to look at LV2013, maybe it's in there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.