Hi,
I have a large file with state and zipcode in the form of
1:36925
3:85140
4:71601
etc
How can I take random lines from the file while retaining the state:zip string.
If I use this it just takes the same first line over and over
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-0-|-false-}-|-:-|-0-}
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-0-|-false-}-|-:-|-1-}
If I use
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-random-|-false-}-|-:-|-0-}
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-random-|-false-}-|-:-|-1-}
The zip and state don't match.
Don't know if I explained it clearly. I am new to his so I don't know what I am talking about.:huh:
I have a large file with state and zipcode in the form of
1:36925
3:85140
4:71601
etc
How can I take random lines from the file while retaining the state:zip string.
If I use this it just takes the same first line over and over
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-0-|-false-}-|-:-|-0-}
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-0-|-false-}-|-:-|-1-}
If I use
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-random-|-false-}-|-:-|-0-}
{-String.Split-|-{-File.GetString-|-\Resources\states_zips.txt-|-random-|-false-}-|-:-|-1-}
The zip and state don't match.
Don't know if I explained it clearly. I am new to his so I don't know what I am talking about.:huh: