OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 
Skip Navigation Links
All BooksExpand All Books
LabTalk ProgrammingExpand LabTalk Programming
Language ReferenceExpand Language Reference
Function ReferenceExpand Function Reference
String and Character FunctionsExpand String and Character Functions

3.5.5.10 Len

Description

This function returns the number of characters of a string (str).

Syntax

int Len(string str)

Parameters

str

is the string whose length you want to get.

Return

return the number of characters of a string.


Example

string str$ = "abc ABC";
int nn = Len(str$);
nn = ; //should return 7

See Also

 

© OriginLab Corporation. All rights reserved.