Jump to content
Sign in to follow this  
Blackstar

ClipGet to Array?

Recommended Posts

I'm trying to figure out how to get ClipGet info to Array (not _ArrayToClip) and I dont see any documention in help file on this or is it possible?

Example copy to clipboard from a text file:

Biofuel is any fuel that is derived from biomass -- which contains

recently living organisms or their metabolic byproducts. Biofuel is a

renewable energy source, unlike other natural resources such as petroleum,

coal and nuclear fuels. Agricultural products specifically grown for use

as biofuels include corn and soybeans.

All I want is each line from that paragraph in above becomes an element in the array so there should be 7 elements total so I can do comparison with another array. How do I do that?

Blackstar

Share this post


Link to post
Share on other sites

I'm trying to figure out how to get ClipGet info to Array (not _ArrayToClip) and I dont see any documention in help file on this or is it possible?

Example copy to clipboard from a text file:

Biofuel is any fuel that is derived from biomass -- which contains

recently living organisms or their metabolic byproducts. Biofuel is a

renewable energy source, unlike other natural resources such as petroleum,

coal and nuclear fuels. Agricultural products specifically grown for use

as biofuels include corn and soybeans.

All I want is each line from that paragraph in above becomes an element in the array so there should be 7 elements total so I can do comparison with another array. How do I do that?

Blackstar

I couldn't you do a stringsplit on @CR, @LF or @CRLF? Depending on what's in the clipboard...

Are you here from themaxx?

Edited by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

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  

×
×
  • Create New...