12-29-2018 12:49 AM
Hello All,
I'm using "Format Into String" in my code. The Number of Arguments/No. of Inputs and Format Specifiers are not fixed. The Inputs and String Format are coming from the Front Panel.
I tried resolving the issue by using a for loop and indexing the input but it was throwing an error that the number of format specifiers is too many
Solved! Go to Solution.
12-29-2018 12:55 AM
Well, show us your code and some typical example strings. Are there delimiters?
12-29-2018 01:40 AM
Please find the code Image and Examples of Strings in the attached File.
12-29-2018 04:48 AM
Hi gargraghul,
when all you do is replacing parts of strings you should use SearchAndReplace instead of FormatIntoString in the loop!
Otherwise you need to create an array of subset format strings as you supply an array of string arguments...
12-29-2018 09:58 AM
I resolved the issue by using the search replace function and for loop. Thanks for your suggestions.