iheartmoose Posted March 4, 2016 Report Share Posted March 4, 2016 Hi guys, I have the need to create a string which will be made up of: text + string + text + string + text + string Other than convert each part of text to ascii which will be horribly time consuming, how can I do this? Quote Link to comment Share on other sites More sharing options...
Alexander Posted March 4, 2016 Report Share Posted March 4, 2016 If the strings are of various length than you will need to use the string tools in VisiLogic to compose the entire string. One quick way to insert static text into a string is to use the String to ASCII function block. This lets you type in text into the function block, and then it will insert it into a vector starting at a desired operand location. After that you can use the Insert String into String in combination with the String Length function blocks to combine all of the parts into one continuous string. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted March 7, 2016 MVP 2021 Report Share Posted March 7, 2016 What's the difference between "text" and "string" in your request? Can you give an example to the completed string? Joe T. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.