IAMK Posted November 13, 2018 Posted November 13, 2018 (edited) I've done some googling and could not find a function for this. Does anyone know of anything which could do this? I could also write a for loop for this, but I'd rather not resort to that. Basically, I have: $temp = StringSplit(StringStripWS(FileReadLine($fin, $i), $STR_STRIPALL), "<>,", 0) Then, I want to say: $newArray = $temp[$x] To $temp[$y] ;Pseudocode E.g. If $temp = ["1", "2", "3", 4"] and I want $newArray to have everything after the 2nd element in $temp. If there is no function for the above, then I'll just resort to using a For loop for reading $temp starting from the 3rd element. I have found a way. AutoIt calls it an extraction: https://www.autoitscript.com/autoit3/docs/libfunctions/_ArrayExtract.htm Edited November 13, 2018 by IAMK Found solution
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now