|
|
|||||||
Hello, While using Kix script, I need to make some calculations on data of a file. The file contains a single line with many fields, seperated by space (for example "AAAA 34 52 1 4 7 2 31 56 89"). I need to isolate only some fields and have its value on variables (for example I need the variable count1 to have the value of the fifth element and the variable count2 to have the value of the third variable). Can someone help me with this? Thanks |
||||||||
|
|
|||||||
I thought the manual did justice to Split(). Code: break on |
||||||||
|
|
|||||||
additionally: break on $Field=Split("AAAA 34 52 1 4 7 2 31 56 89") for each $element in $field ? $element next for $item = 0 to ubound($field)-1 ? $item + ' = '+$field[$item] next |