S
skavan
Hi,
Trying to wrap my head around the following problem.
Let's say I have a 2 dimensional array:
Dim arrS(3,4) As String
I want to copy the subarray arrS(0,) to a new array arrLoop(4) As
String.
How can one do this?
In fact, I may be taking the wrong approach entirely, so I'll spell out
my use case:
1. Let's say I have 4 lines of text.
2. Each line has up to 5 pre-defined parameters (words) in it, in a
non-predefined order.
3. I scan the line, taking note of when a predefined word is found and
what its word position is.
4. I repeat this for each line.
at the end of the process, I want to know which parameter order was
most commonly found across the lines of text.
Any ideas on how to approach this?
Trying to wrap my head around the following problem.
Let's say I have a 2 dimensional array:
Dim arrS(3,4) As String
I want to copy the subarray arrS(0,) to a new array arrLoop(4) As
String.
How can one do this?
In fact, I may be taking the wrong approach entirely, so I'll spell out
my use case:
1. Let's say I have 4 lines of text.
2. Each line has up to 5 pre-defined parameters (words) in it, in a
non-predefined order.
3. I scan the line, taking note of when a predefined word is found and
what its word position is.
4. I repeat this for each line.
at the end of the process, I want to know which parameter order was
most commonly found across the lines of text.
Any ideas on how to approach this?