User Tools

Site Tools


en:mid

Mid (Function)

Format

Description

Returns a portion of the specified string_expression, starting from the start character, and continuing for length_expression characters or the end of the string_expression.

Example

print mid("Hello", 2, 3)
print mid("Hello", 2, 999)

will display

ell
ello

See Also

History

0.9.5bNew To Version
1.99.99.53Added length < 0
1.99.99.53Added start position < 0
en/mid.txt · Last modified: 2020/02/28 10:46 (external edit)