The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Split Column
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Eggord

Germany
13 Posts

Posted - 07/06/2015 :  04:31:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi i`m completly new with LabTalk. But i`m experienced in programming.


I have two Columns. I want to search in the first for an specific value(x). Then i want to copy the Data of the two Columns between the founded cells(x) to 2 new Columns. But there is one extra thing: The Header is also included into the data(see Picture; The Header always starts with "Interval").
I thought the best way would be LabTalk. It is easy dor me to do it in some other Language but i have no idea about LabTalk. So it would be really nive if someone can support me with the LabTalk script. I`m sure i will learn more or at least faster from script then go through all of the tutorials.

Thank you very much!

jasonzhao

China
262 Posts

Posted - 07/06/2015 :  05:16:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

To solve the copy data to new column problem:
please refer to this page, and try example 1:
http://www.originlab.com/doc/X-Function/ref/wextract

Besides, You said that Header is also included into the data, Would you like to remove the Header when import .dat file into worksheet?

Best regards!
Jason
OriginLab Technical Service

Edited by - jasonzhao on 07/06/2015 05:16:55 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000