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
 Convert Lower case string into Upper case
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kumarb

India
7 Posts

Posted - 06/01/2011 :  01:06:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I need to convert the lower case string into upper case string.Is there is any function available in LabTalk ? I am using LabTalk 7.5 version.Kindly help me on this.



Kumar B

greg

USA
1379 Posts

Posted - 06/01/2011 :  2:58:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You cannot do that in LabTalk in 7.5. Newer version of Origin support strings and string Class Methods so it's easy:

string str;
str$ = make this all uppercase;
str.MakeUpper();
ty str$;

In your version, you need to write an OriginC function to convert to uppercase. Consult the Origin 7.5 programming Help and search for MakeUpper.
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