30+
years serving the scientific and engineering community
ログイン
ビデオを見る
試す
買う
English
日本語
Deutsch
Toggle navigation
製品
製品
Origin
OriginPro
無料Originビューアー
全製品
OriginとOriginProの比較
最新バージョンの新機能
製品資料
ショーケース
アプリケーション
ケーススタディ
グラフギャラリー
アニメーション・ギャラリー
3D関数ギャラリー
Originの機能
2D&3D グラフ作成
ピーク分析
曲線フィット
統計処理
信号処理
各バージョンの主要機能
ライセンス形態
ライセンスファイル(ノードロック固定シート)
FLEXnetネットワークライセンス(同時起動)
ハードウェアキー
アカデミック
学生版
一般企業/個人
政府機関
OriginLabが選択される訳
Originのユーザー
Originに対するユーザ評
レビュー記事
オンライン・ストア
見積もり/発注
世界のOrigin販売店
アプリ
Data Import
CSV Connector
Excel Connector
MATLAB Connector
XML Connector
LeCroy Connector
Agilent MS
Tektronix WFM
Google Map
N42 Connector
More...
Graphing
Graph Maker
Paired Comparison Plot
Manhattan Plot
Forest Plot
Piper Diagram
Voronoi Diagram
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Rank Models
Fit ODE
Neural Network Fitting
Fit Convolution
Polynomial Surface fit
Enzyme Kinetics
Drug Dissolution Analysis
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
Stats Advisor
PCA
DOE
Chi-Square Test
Weibull Fit
Structural Equation Modeling
Surface Roughness Parameters
More...
How do Apps work in Origin?
Suggest a New App
ご購入
新規発注
メンテナンス契約の更新
Originバージョンのアップグレード
お問合せ(米国・カナダのみ)
世界のOrigin販売店
ライセンスの種類
ライセンスファイル(ノードロック固定シート)
FLEXnetネットワークライセンス(同時起動)
ハードウェアキー
アカデミック
学生版
一般企業/個人
政府機関
Originのユーザー
購入に関するよくある質問
サポート
サービス
OriginのインストールPCを変更
Originのライセンス/登録
コンサルテーション
Originトレーニング
技術サポート
技術サポートのよくある質問
ヘルプ・センター
サポートについてのお問合せ
サポート・ポリシー
ダウンロード
サービスリリース・パッチプログラム
無料Originビューアー
Orglabモジュール
製品資料
Origin評価版
全てのダウンロード
ビデオ
インストールとライセンス処理
Origin入門
全てのビデオチュートリアル
ドキュメンテーション
ユーザーガイド
チュートリアル
Python プログラミング
OriginC プログラミング
LabTalk プログラミング
全てのドキュメント
Originコミュニティ
ユーザフォーラム
ファイル交換の場
Facebook
LinkedIn
YouTube
会社情報
弊社概要
ニュース&イベント
キャリア
世界のOrigin販売店
お問合せ
ログイン
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
App Development
Code Builder
License
MOCA
Orglab
String and Character Functions
String-and-Characters
Note:
All of the following functions are available only in
Origin 8 SR6
or later version!
You can also use methods in
String object
to work with strings.
String concatenation
operator (+) can be used to concatenate two strings.
Name
Brief
Example
asc
Returns the ASCII value of the uppercase character in parentheses.
Char
Return the character specified by the code number.
Example
Code
Return a numeric code for the first character in input string.
Example
Compare
Compare
str1
with
str2
, identical will return
1
.
Example
EnvVar
Returns the string value stored in the windows environment variable.
Example
Exact
Return
TRUE
if both strings are an exact match (case and length).
Example
Find
Finds a string within another string. Case sensitive. No wildcards.
Example
Format
Convert double to string with LabTalk formatting option. Superseded in 9.1 by Text function.
Examples
IsEmpty
Determine whether worksheet cell is empty or contains data/missing values.
Example
Left
Returns the leftmost
n
characters from the string.
Example
Len
Returns the number of characters of a string
str
.
Example
Lower
Converts the string to lowercase.
Example
MakeCSV
This function converts a string which has an identical delimiter into CSV format.
Example
Match
Compares the string
find$
with another string
within$
to see whether their contents match with each other.
Example
MatchBegin
Finds a string pattern within a string. Supports
*
and
?
wildcard characters. Optionally, case-sensitive.
Example
MatchEnd
Finds a string pattern within a string (
str1
). Supports
*
and
?
wildcard characters. Optionally, case-sensitive.
Example
Mid
Returns a specific number of characters
n2
from the string
str
, starting at the specific position
n1
. If
n2
is not specified, returns everything from
n1
to the end of the string.
Example
NumberValue
Converts a string value to a numeric, with options for specifying decimal and separator characters to be used in interpreting the string.
Example
Replace
Replace
n2
characters in string1 starting at
n1
th position with string2.
Example
Right
Returns the rightmost
n
characters from the string.
Example
Search
Finds a string within another string. Not case sensitive. No wildcards. See
MatchBegin
.
Example
Substitute
Substitute
string3
with
string2
when found in
string1
.
Example
Text
Convert double to string with LabTalk formatting option.
Examples
Token
Get the
N
th token using specified delimiter from a string.
Example
Trim
Removes spaces from string.
Example
Upper
Converts the string to uppercase.
Example
Value
Converts the string number to double.
Example
Skip Navigation Links
All Books
LabTalk Programming
Language Reference
Function Reference
Text
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
App Development
Code Builder
License
MOCA
Orglab
Programming
Note For Upgrade Users
LabTalk Scripting Guide
Language Reference
Script Examples
Tutorials
System Variables
System Variable List
Command Reference
LabTalk-Supported Origin C Functions
Function Reference
Macro Reference
Object Reference
Others(LabTalk)
Reference Tables
Math and Trigonometry
Statistics
Distribution
Signal Processing
Data Generation
Data Manipulation
Text
Lookup and Reference
Date and Time
Logical
Engineering
Miscellaneous
Financial
Alphabetical Listing of Functions
Asc
Between
Char
Code
Compare
CompareNoCase
Exact
EnvVar
Find
FindOneOf
Text/Format
GetAt
GetFileExt
GetFileName
GetFilePath
GetLength
GetToken
IsEmpty
IsFile
IsFormula
IsPath
Left
Len
Lower
MakeCSV
Match
MatchBegin
MatchEnd
Mid
NumberValue
Replace
Right
Search
SpanExcluding
SpanIncluding
Substitute
TextJoin
Token
Trim
Upper
Value
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat