LifeLua 21-08-2025
Documentation for LifeLua, a Lua interpreter for the PS Vita
Loading...
Searching...
No Matches
string

Lua string library extension. More...

Functions

boolean string.startswith (string string, string sub)
 
boolean string.endswith (string string, string sub)
 
table string.split (string string, string delimiter)
 

Detailed Description

Method calling will work on all of the functions listed here, just like other Lua string functions (e. g. (""):startswith & (""):endswith)

Function Documentation

◆ string.endswith()

boolean string.endswith ( string string,
string sub )

Checks if string ends with a substring

◆ string.split()

table string.split ( string string,
string delimiter )

Splits a string with a delimiter

Parameters
delimiteroptional, will default to a space if not defined

◆ string.startswith()

boolean string.startswith ( string string,
string sub )

Checks if string starts with a substring