monte Posted February 3, 2006 Posted February 3, 2006 hello. I am trying to parse a tabbed delimited string into an array using stringsplit(). The tabbed string contains: This is the contents of the clipboard I want to parse element 4 from the array: 'contents'. here's what I've got: #include <array.au3> $vClipboardData=clipget() $vElement=stringsplit(vClipboardData, "") msgbox(0,"my string is:", $vElement[4]) My problem is that I cannot find the "tab" delimiter syntax for the stringsplit function. Thanks in advance for any help you may be able to provide.
flaxcrack Posted February 3, 2006 Posted February 3, 2006 (edited) hello. I am trying to parse a tabbed delimited string into an array using stringsplit(). The tabbed string contains: This is the contents of the clipboard I want to parse element 4 from the array: 'contents'. here's what I've got: #include <array.au3> $vClipboardData=clipget() $vElement=stringsplit(vClipboardData, "") msgbox(0,"my string is:", $vElement[4]) My problem is that I cannot find the "tab" delimiter syntax for the stringsplit function. Thanks in advance for any help you may be able to provide. Try this: $vClipboardData=clipget() $vElement=stringsplit($vClipboardData, @TAB) msgbox(0,"my string is:", $vElement[4]) And you don't need #include<array.au3> for this small script. Edited February 3, 2006 by flaxcrack [quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()
monte Posted February 3, 2006 Author Posted February 3, 2006 Thank you so much flaxcrack! And for the quick reply! I checked the autoit forums and googled for hours and found nothing! Oh what stumped me for hours....and you solved it in seconds! Thank you again. I appreciate it!
flaxcrack Posted February 3, 2006 Posted February 3, 2006 Thank you so much flaxcrack! And for the quick reply! I checked the autoit forums and googled for hours and found nothing! Oh what stumped me for hours....and you solved it in seconds! Thank you again. I appreciate it!Wow Monte! Thank you! You made my day! [quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()
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