03-24-2011 03:04 AM
Hello everyone
I am loading a text file with several columns that has text (informations about the file and column titles) and values in engineering format. After I load this file I use "spreadsheet string to array" to convert it to 2D array of strings.
I would like to leave all the "text" (informations about the file and column titles) unchanged, but I want all the "engineering values" to be converted to "fractional values". How do I convert an engineering string to a fractional string?
I will have to convert the whole file at once because different files have different positions for text and engineering values and because of that would be impossible to know the index of values and convert just them.
Thanks.
Dan07
Solved! Go to Solution.
03-24-2011 03:42 AM
03-24-2011 08:07 AM
@dan07 wrote:
I will have to convert the whole file at once because different files have different positions for text and engineering values and because of that would be impossible to know the index of values and convert just them.
You will have to loop through your 2D array of strings testing each cell for engineering values to convert and then do what GerdW suggested.
You could use Regular Expressions to detect the engineering values from the text.