String Functions
Hello,
I wish to take a string and make some modificiation. I have found the 'String Functions' section but it has been no help.
Problem 1:
I have a text element with the following text inside:
85x2
86x20
87x14
88x8
89x10
90x10
91
92x2
93
94
Now I need these to be seperate text elements roughly in the same position...I am finding the string functions limited and I am unsure how to do this inside Isodraw can anyone help?
Problem 2:
I have the following text element:
13x2
I need to seperate the 13 and the x2 into their own elements, I have tried using the FIND (source, search, start) as explained in the 'String Functions' section to always find the X and then I can hopefully start to remove the X and text after the X into another text element but unfortunately my isodraw crashes when I use FIND() in conjunction with the MESSAGE function. If I use the FIND() on its own Isodraw returns the error: "Unknown Macro Command"
MACRO Test
DEFINE str AS string
str = "13x4"
MESSAGE "Result: " + find(str, x, 1)
END MACRO
(Note I could not see the code button)
Does anyone have any suggesions?
Thank you
Alan
Message was edited by: Alan Porter
Message was edited by: Alan Porter

