30+
Jahre Hochleistungssoftware für Wissenschaft und Ingenieurwesen
Anmeldung
Watch Videos
Kostenlos testen
Kaufen
English
日本語
Deutsch
Toggle navigation
Produkte
PRODUKTE
Origin
OriginPro
Origin-Viewer
Alle Produkte
Origin vs. OriginPro
Neuerungen in der aktuellen Version
Produktliteratur
DEMONSTRATIONEN
Anwendungen
Anwenderberichte
Grafikgalerie
Animationsgalerie
3D-Funktionsgalerie
FUNKTIONEN
Grafische Darstellung in 2D und 3D
Peakanalyse
Kurvenanpassung
Statistik
Signalverarbeitung
Schlüsselfunktionen nach Version
LIZENZIERUNGSOPTIONEN
Node-Locked (rechnergebunden)
FLEXnet Concurrent (Netzwerk)
Dongle
Akademiker
Studentenversion
Anwender in der Industrie
Anwender in Behörden
Warum OriginLab?
Wer verwendet Origin?
Anwendermeinungen
Veröffentlichte Produktbewertungen
Online-Shop
Angebot anfragen/Bestellen
Vertriebspartner suchen
Apps
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
Kaufen
Neuaufträge
Softwarepflege verlängern
Upgrade für Origin
Vertrieb kontaktieren (nur USA & Kanada)
Vertriebspartner suchen
Lizenzierungsoptionen
Node-Locked (rechnergebunden)
FLEXnet Concurrent (Netzwerk)
Dongle
Akademiker
Studentenversion
Anwender in der Industrie
Anwender in Behörden
Warum OriginLab?
FAQ für Vertrieb
Support
SERVICE
Origin auf neuen PC übertragen
Origin lizenzieren/registrieren
Beratung
Schulung
SUPPORT
FAQ für Support
Hilfecenter
Support kontaktieren
Support-Richtlinien
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Produktliteratur
Demoversion von Origin
Alle Downloads
VIDEOS
Installation und Lizenzierung
Einführung in Origin
Alle Video-Tutorials
DOKUMENTATION
Hilfe
Tutorials
Programmierung mit Python
Programmierung mit OriginC
Programmierung mit LabTalk
Gesamte Dokumentation
Communities
Anwenderforum
Anwenderdateiaustausch
Facebook
YouTube
LinkedIn
Über uns
OriginLab Corp.
Neuigkeiten & Events
Karriere
Vertriebspartner
Kontakt
Anmeldung
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
Apps
App Development
Code Builder
License
Orglab
2.1.2 Character and String Manipulation
Functions
Name
Brief
Example
_stricmp
The _stricmp (alias stricmp) function compares lowercase versions of two character strings.
Examples
append_blanks_to_size
It appends the' ' characters to the string until its size reaches nSize.If the size of the string is bigger than nSize, the function will not append nor modify the original string.
Examples
check_convert_CR_str_to_CRLF
Convert all "\n" end-of-lines sequences to "\r\n" in a string.
Examples
count_list
Count a string list ,then construct a string vector and an appearance frequency vector for all duplicate occurences
Examples
find_any_of_characters_in_str
find any one of the specified characters in a string and return its pointer
Examples
find_end_char_number
Find the repeat appearance times of the end character at the end of a string.
Examples
find_in_list
Look for the given double or int value in list of numeric values
Examples
find_prefix_char_number
Find the repeat appearance times of the prefix character at the beginning of a string.
Examples
get_str_from_str_list
Get a specified index string from the string list separated by delimiter .
Examples
GetDecimalChar
GetDecimalChar is used to return the character used inside Origin for decimal in numbers
Examples
init_vector_string
initialize a string array, set the size as nSize, the value of all strings as strDefault.
Examples
is_good_C_identifier
Test if given string is a valid C or LabTalk compatible string to define a variable
Examples
is_good_C_identifier_ex
Test if given string is a valid C or LabTalk compatible string to define a variable
Examples
is_in_list
check and see if given string is in list
Examples
is_repeat_str
Get the repeat times of basic substring in a given string
Examples
is_str_has_path
Test the string to see if it begins with a file path, this function does not care whether the file exists or not.
Examples
is_str_has_space
Test a string to see if it has any white space character. Only ASCII space, CR and LF characters are tested but multibyte string can be supported.
Examples
is_str_match_begin
Check if a string begins with a particular string
Examples
is_str_match_begin_of_word
Check to see if a string is the start part of a word in a longer string
Examples
is_str_numeric
Check and convert a string to a double
Examples
is_str_numeric_integer
Check and convert a string to an integer
Examples
is_str_numeric_integer_with_args
Check and convert the substring before the separator token to an integer and return the remaining string
Examples
is_str_valid_file_path
Test a string to see if it is in correct form for a file name (full path) this function does not care whether the file existed or not
Examples
IsCharAlpha
This function determines whether a character is an alphabetic character.
Examples
lstrcat
The lstrcat (alias strcat) function append characters of a string.
Examples
lstrcmp
The lstrcmp (alias strcmp) function compares two character strings. The comparison is case sensitive.
Examples
lstrcmpi
The lstrcmpi (alias stricmp) function compares two character strings. The comparison is not case sensitive.
Examples
lstrcpy
The lstrcpy (alias strcpy) function copies a string to a buffer.
Examples
lstrcpyn
The lstrcpyn (alias strncpy) function copies a specified number of characters from a source string into a buffer.
Examples
lstrlen
The lstrlen (alias strlen) function returns the length of a string in bytes(not including the terminating null character).
Examples
memchr
Find a pointer to first occurrence of character.
Examples
memcmp
Compares characters between two buffers.
Examples
memcpy
Copy characters between buffers.
Examples
memmove
Move contents of one buffer to another.
Examples
memory_replace
Replace all occurances of certain characters in given buffer with a new character
Examples
memset
Set buffers to a specified character.
Examples
okutil_find_strings
Finds all strings in an array that match a given test string.
The test string may contain wild characters * and ?.
Examples
okutil_get_tokens
get the tokens from the string
Examples
okutil_is_in_list
check and see if given string is in list
Examples
okutil_search_text
search keywords in text
Examples
remove_if_in_list
Filter a vector of strings by another , remove all those elements that are in the second list from the first vector.
Examples
remove_if_not_in_list
Filter a vector of strings by another , remove all those elements that are not in the second list from the first vector.
Examples
remove_repeat_item
Remove the repeat items in a string list
Examples
remove_str_from_str_list
Remove a specified string from the string list separated by delimiter.
Examples
separate_file_name_ext
Check to see if the given file name has file extension name. if so, separate and get them.
Examples
sprintf
Write data into a string according to a standard C format specification.
Examples
sscanf
Read data from a string according to a standard C format specification.
Examples
str_combine
Combine the elements in a string vector to a new string.
Examples
str_end_char
get the last char of a string
Examples
str_pad_char
pad a string with given charactor.
Examples
str_separate
Seperate the string to some new strings with the seperator.
Examples
strcat
Append a string.
Examples
strchr
Find a character in a string.
Examples
strcmp
Compare strings.
Examples
strcpy
Copy a string.
Examples
strcspn
Find a substring in a string.
Examples
strerror
Get a system error message.
Examples
string_to_prefix_end_number
Break the given string into prefix string and a terminating integer.
Examples
strlen
Get the length of a string in bytes(not including the terminating null character).
Examples
strncat
Append characters of a string.
Examples
strncmp
Compare the first N characters of two strings.
Examples
strncpy
Copy characters of one string to another.
Examples
strpbrk
Scan strings for characters in specified character sets.
Examples
strrchr
Scan a string for the last occurrence of a character.
Examples
strspn
Find the first substring.
Examples
strstr
Find a substring.
Examples
strtok
Find the next token in a string.
Examples
tolower
Convert uppercase letter to lowercase.
Examples
toupper
Convert lowercase letter to uppercase.
Examples
Skip Navigation Links
All Books
Origin C
Origin C Reference
Global Functions
Character and String Manipulation
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
Programmieren
Origin C Programming Guide
Origin C Reference
Beispiele (DescStats)
Origin Developer Kit
Build Dialogs using HTML and JavaScript
Global Functions
Classes
Macros
Typedef
Struct
Enum
Basic IO
Character and String Manipulation
COM
Communications
Curve
Data Conversion
Data Range
Date Time
File IO
File Management
Fitting
Image Processing
Import Export
Internal Origin Objects
LabTalk Interface
Math Functions
Mathematik
Matrixkonvertierung und Gridding
Memory Management
NAG Functions
Network
Signal Processing
Spectroscopy
Statistics
System
Tree
User Interface
append_blanks_to_size
check_convert_CR_str_to_CRLF
count_list
find_any_of_characters_in_str
find_end_char_number
find_in_list
find_prefix_char_number
GetDecimalChar
get_str_from_str_list
init_vector_string
IsCharAlpha
is_good_C_identifier
is_good_C_identifier_ex
is_in_list
is_repeat_str
is_str_has_path
is_str_has_space
is_str_match_begin
is_str_match_begin_of_word
is_str_numeric
is_str_numeric_integer
is_str_numeric_integer_with_args
is_str_valid_file_path
lstrcat
lstrcmp
lstrcmpi
lstrcpy
lstrcpyn
lstrlen
memchr
memcmp
memcpy
memmove
memory_replace
memset
okutil_find_strings
okutil_get_tokens
okutil_is_in_list
okutil_search_text
remove_if_in_list
remove_if_not_in_list
remove_repeat_item
remove_str_from_str_list
separate_file_name_ext
sprintf
sscanf
strcat
strchr
strcmp
strcpy
strcspn
strerror
string_to_prefix_end_number
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtok
str_combine
str_end_char
str_pad_char
str_separate
tolower
toupper
_stricmp
English
|
Deutsch
|
日本語
© OriginLab Corporation. Alle Rechte vorbehalten.
×
☐
_
Let's Chat