AutoHotkey Community

It is currently May 27th, 2012, 6:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: April 9th, 2011, 2:00 pm 
Offline

Joined: November 9th, 2009, 4:24 pm
Posts: 94
Is there any way to divide a variable in 2 different string, for example I take a windows title using WinGetTitle
Code:
WinGetTitle, title,A

After that I obtain "My Title/123456"

Is there any way to divide that %title% in 2 different variables using the "/" character to separate them?

Because I finally want to obtain:
%name% = My Title
%number% = 123456

Thanks in advance!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 9th, 2011, 3:17 pm 
Offline

Joined: December 26th, 2010, 7:40 pm
Posts: 4172
Location: Awesometown, USA
Please lookk at StringSplit.

_________________
Autofire, AutoClick, Toggle, SpamWindow Control Tools
Recommended: AutoHotkey_L


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: batto, Exabot [Bot], JSLover, sjc1000 and 60 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group