Sign in to follow this  
Followers 0
theguy0000

divide a string by spaces and quotes

7 posts in this topic

lets say i have a string:

I am a "very nice" person

Then I want to divide it by spaces, Eaasy enough. But then I want to make "very nice" one param beecause it is in quotes. The same way $CmdLine divides params. How could I do this?

(I am sure this is a very basic question, but I haven't used autoit in awhile :P)


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites



lets say i have a string:

I am a "very nice" person

Then I want to divide it by spaces, Eaasy enough. But then I want to make "very nice" one param beecause it is in quotes. The same way $CmdLine divides params. How could I do this?

(I am sure this is a very basic question, but I haven't used autoit in awhile :P)

I'm curious... what are you making that you would need to do this?

Constants?... Is it always "words word" or 'words word' and the quotes never have quotes within themselves like "words ""word"""?


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

i want a way to save data but encrypted just like an ini except encrypted, but i guess i could just encrypt an ini, couldn't i? :P


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

i want a way to save data but encrypted just like an ini except encrypted, but i guess i could just encrypt an ini, couldn't i? :P

LOL, yeah you could, and it would be much faster... what your asking is not "easy" per sayy, I do it in EnCodeIt... but the event is fairly complex to make, although looking at it when it's finished it doesn't seem like much.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

LOL, yeah you could, and it would be much faster... what your asking is not "easy" per sayy, I do it in EnCodeIt... but the event is fairly complex to make, although looking at it when it's finished it doesn't seem like much.

yes ok lol, I'll just encode an ini :P

thanks lol


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

yes ok lol, I'll just encode an ini :P

thanks lol

Geeze, I just made the function you were asking for... I didn't take care of possible double quotes in it, and it was no less than 35 lines.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Geeze, I just made the function you were asking for... I didn't take care of possible double quotes in it, and it was no less than 35 lines.

ok show it lol. i already have everything made except that one function, anyway :P

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

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