Hi all I have a file that I need to open and get a single element from. I thought I would make the file into an array, in hopes that each element would then be callable as a varible. This did not work but I am unsure of correct syntax for callign a multi level array? I am finding this to be harder than I thought. Here is what the file looks like.
ISA*00* *00* *01*043109560T *01*3125533 *050209*1057*U*00401*000000045*0*T*>~
GS*PR*043109560T*3125533*20050209*1057*15*X*004010~
Pattern matched: GS THIS line contains the UNique ID Number I needST*855*000000022~
BAK*00*AE*TEST01*20050201~
N1*ST*JOHN UTTER~
N3*1415 34TH~
N4*FARGO*ND*58103~
PO1*1*1*EA*****VN*PXX X879512X~
PID*F****1 LOVE (CHECKPOINT)(DVD)(~
I need to get element 1057 of the GS line.
Can anyone help me? I am lost!