Sign in to follow this  
Followers 0
PieMan

Seperating words in string

3 posts in this topic

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!

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

hi there,

include <array.au3>

$string = "xx/xx/xxxx"

$array = StringSplit ($string, "/")

_arraydisplay ($array, "date separated")

cheers

Cheers!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0