11-22-2024 07:35 AM
subVI doesn't help me because Concatenage Strings has the feature to add an unlimited number of inputs.
Anyway, it would be nice if it was possible to choose whether I want to output an array or a single.
11-22-2024 07:38 AM
@maxnoder1995 wrote:
subVI doesn't help me because Concatenage Strings has the feature to add an unlimited number of inputs.
Anyway, it would be nice if it was possible to choose whether I want to output an array or a single.
But then it would no longer be concatenation. "string concatenation is the operation of joining character strings end-to-end"
11-22-2024 07:48 AM
It is 'concatenate' in a broader sense here to mean combining the constant with each element, whether by prepending or appending. The name reflects the operation's intent, even if it's not strictly about end-to-end concatenation.
11-22-2024 07:48 AM - edited 11-22-2024 07:54 AM
Hi Max,
@maxnoder1995 wrote:
I can add 2 to each element of array without for loop.
why can't I append/prepend constant string to every element?
Because "adding" is something different than "concatenating" (or appending/prepending)!
Btw. the LabVIEW help is quite clear:
Concatenates input strings and 1D arrays of strings into a single output string.