Project

General

Profile

$mid » History » Version 2

Per Amundsen, 12/24/2019 12:47 PM

1 2 Per Amundsen
_Added in 1.8.10_
2 1 Per Amundsen
3
*$mid(text,S,N)*
4
5
Returns N characters starting at position S in text.
6
7
*Parameters*
8
9
text - The text to substring.
10
S - The starting position.
11
N - Number of characters to substring.
12
13
*Example*
14
15
<pre>
16
; Get '6' characters starting at position '6' in the text 'Hello World'.
17
//echo -ag $mid(Hello World,6,6) 
18
</pre>