Project

General

Profile

Actions

$mid » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Per Amundsen, 12/24/2019 12:47 PM


Added in 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 almost 5 years ago · 2 revisions

Also available in: PDF HTML TXT