Hi I have the following list returned from a query.
select value from stringhistory
where tagname = 'mt_mm2_scaledata'
and value is not null
This is the string returned.
------------------ 03/21/2006 11:10 n 3 x 45.23 g Min 35.9 g Max 63.7 g Diff. 27.8 g
Is there a way to break the string apart by sections such as the datetime part, then the "n 3", "x 45.23 g", "Min 35.9 g", "Max 63.7 g", "Diff. 27.8".
I want to be able to get the string and pull these parts out the only problem is they may not alway be in the same sequence. Then after I have the parts removed I need to strip off the characters and leave just the numbers (excluding the date i need the whole date section). Then I need to insert the individual sections into a database.
I have tried various combinations such as listfindnocase to see the different sections and looping through lists but no go. Could someone help explain what I have to do?
Thank You
select value from stringhistory
where tagname = 'mt_mm2_scaledata'
and value is not null
This is the string returned.
------------------ 03/21/2006 11:10 n 3 x 45.23 g Min 35.9 g Max 63.7 g Diff. 27.8 g
Is there a way to break the string apart by sections such as the datetime part, then the "n 3", "x 45.23 g", "Min 35.9 g", "Max 63.7 g", "Diff. 27.8".
I want to be able to get the string and pull these parts out the only problem is they may not alway be in the same sequence. Then after I have the parts removed I need to strip off the characters and leave just the numbers (excluding the date i need the whole date section). Then I need to insert the individual sections into a database.
I have tried various combinations such as listfindnocase to see the different sections and looping through lists but no go. Could someone help explain what I have to do?
Thank You