02-18-2016 04:40 AM
As above,
I have used the concatenate strings function. Is there was to reverse the order of the strings before I output them as a message to the user, as the information is in reverse order??
Thanks,
02-18-2016 04:51 AM
02-18-2016 04:57 AM
what is your mean reverse
reverse action or
reverse string
02-18-2016 04:59 AM
@lvrichard wrote:As above,
I have used the concatenate strings function. Is there was to reverse the order of the strings before I output them as a message to the user, as the information is in reverse order??
Thanks,
I am not sure what you want, so only pure guessing: you might consider using a string array to keep the messages at separated array indexes. In this way you can easily change oder of msgs by the simple array functions...
02-18-2016 09:35 AM - edited 02-18-2016 09:36 AM
@lvrichard wrote:As above,
I have used the concatenate strings function. Is there was to reverse the order of the strings before I output them as a message to the user, as the information is in reverse order??
Thanks,
Why not concatenate the strings in the right order to begin with instead of concatenateing them and then trying to reverse the concatenate order?
02-18-2016 09:52 AM - edited 02-18-2016 09:54 AM
I'm sure there are many ways to do this. If you have words in your message, and you want to reverse the order of the words, you can search search for all of the spaces and get an array of all the words. Then reverse the array and add the spaces back in. It will be very similar if your words are separated by new lines.
Edit: And Altenbach will post something with only 2 block diagram nodes in 3... 2... 1...
02-18-2016 11:55 AM
02-18-2016 12:54 PM