Project

General

Profile

Actions

Added in 1.8.10

$mid(text,S,N)

Returns N characters starting at position S in text.

See also $left, $right.

Parameters

Parameter Description
text The text to substring.
S The starting position.
N Number of characters to substring.

Example

; Get '6' characters starting at position '6' in the text 'Hello World'.
//echo -ag $mid(Hello World,6,6) 

Updated by Per Amundsen almost 2 years ago · 3 revisions

Also available in: PDF HTML TXT