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
Origin Forum
Function for converting column into number format
New Topic
Reply to Topic
Printer Friendly
Author
Topic
Neena1695
Canada
117 Posts
Posted - 01/20/2021 : 06:40:35 AM
Hello Origin Users!
In the attached picture, I want to convert columnn 1 into column 2 format, so want to remove all those letters and just extract associated numbers. What function can I use on Origin?
Thank you
Neena
YimingChen
1623 Posts
Posted - 01/20/2021 : 09:13:15 AM
Hi Neena,
If you have Origin2021, you can use regular expression in Python extract value from string.
James
cpyang
USA
1406 Posts
Posted - 01/20/2021 : 10:00:29 AM
If you know for sure the numbers always start from the same position, then you can do this in Fx formula
value(mid(A,4)$)
CP
Neena1695
Canada
117 Posts
Posted - 01/20/2021 : 6:58:01 PM
Thank you!
Neena
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000