PieMan Posted July 6, 2009 Posted July 6, 2009 Hi, I need some help seperating words in a string into seperate variables. Currently my script reads from a gui, and pulls out a date in this format xx/xx/xxxx. what i would like to do is seperate each number between the /. How would i go about this? Thanks!
November Posted July 6, 2009 Posted July 6, 2009 hi there, include <array.au3> $string = "xx/xx/xxxx" $array = StringSplit ($string, "/") _arraydisplay ($array, "date separated") cheers Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font]
PieMan Posted July 6, 2009 Author Posted July 6, 2009 hi there,include <array.au3>$string = "xx/xx/xxxx"$array = StringSplit ($string, "/")_arraydisplay ($array, "date separated")cheersCheers!
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