User Tools

Site Tools


en:mid

This is an old revision of the document!


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

en/mid.1471119363.txt.gz · Last modified: 2020/02/28 10:46 (external edit)