w10schools
Login
Register
In current category
Only my posts
MENU
Home
Tutorials
►
HTML, CSS
►
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
►
Ruby
Rails
ASP.NET
►
ASP
C# .NET
Java
►
JSP
Databases
►
MySQL
MSSQL Server
Oracle
Web Server
►
Windows
Linux
Apache
IIS
Design
►
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
►
HTML
►
Bootstrap
CSS
►
CSS Selectors
Sass
JavaScript
Mobile Apps
►
Cordova
Ruby on Rails
►
Ruby
Rails
PHP
►
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
►
Perl
Python
►
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
►
Lua
C, C++
►
C
C++
Server
►
Docker
Apache HTTP Server
Nginx
Database
►
PostgreSQL
Big Data
►
TensorFlow
Game Development
►
Phaser
LÖVE
Articles
►
News
General
►
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
►
Design
►
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
►
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
►
Mobile Development Tools
Swift
Online Services
►
Online Storage
Web Hosting
Tools
►
Generators
Home
Tutorials
HTML, CSS
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
Ruby
Rails
ASP.NET
ASP
C# .NET
Java
JSP
Databases
MySQL
MSSQL Server
Oracle
Web Server
Windows
Linux
Apache
IIS
Design
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
HTML
Bootstrap
CSS
CSS Selectors
Sass
JavaScript
Mobile Apps
Cordova
Ruby on Rails
Ruby
Rails
PHP
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
Perl
Python
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
Lua
C, C++
C
C++
Server
Docker
Apache HTTP Server
Nginx
Database
PostgreSQL
Big Data
TensorFlow
Game Development
Phaser
LÖVE
Articles
News
General
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
Design
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
Mobile Development Tools
Swift
Online Services
Online Storage
Web Hosting
Tools
Generators
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
Lua
Lua
Standard Libraries
UTF-8 Support
Language
Default
Markdown
utf8.len()
utf8.len (s [, i [, j]])
s
i
j
i
j
Links:
https://www.lua.org/manual/5.3/manual.html#pdf-utf8.len
doc_lua
2025-01-10 15:47:30
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
len()
len(s) Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a
lua_len
lua_len[-0, +1, e] void lua_len (lua_State *L, int index); Returns the length of the value at the given index. It is equivalent to the '#' operato
luaL_len
luaL_len[-0, +0, e] lua_Integer luaL_len (lua_State *L, int index); Returns the "length" of the value at the given index as a number; it is equiva
utf8.charpattern
utf8.charpattern[\0-\x7F\xC2-\xF4][\x80-\xBF]*§6.4.1
utf8.offset()
utf8.offset (s, n [, i])nsiniin#s + 1utf8.offset(s, -n)nnil As a special case, when n is 0 the function returns the start of the encoding of the ch
Return to View
^ Back to Top
Please login to continue.