Project

General

Profile

1.8.10

$mid(text,S,N)

Returns N characters starting at position S in text.

Parameters

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 about 2 years ago · 1 revisions

Also available in: PDF HTML TXT