Returns the string between the start search string and the end search string.
#include <String.au3>
_StringBetween($s_String, $s_Start, $s_End [, $v_Case = -1])
| $s_String | The string to search. |
| $s_Start | The beginning of the string to find. Passing a blank string starts at the beginning |
| $s_End | The end of the string to find. Passing a blank string searches from $s_Start to end |
| $v_Case | [optional] Case sensitive search. Default or -1 is not Case sensitive else Case sensitive. |
| Success: | A 0 based $array[0] contains the first found string. |
| Failure: | 0 |
| @error: | 1 - No inbetween string found. |
#include <String.au3>
#include <Array.au3>
_Main()
Func _Main()
Local $aArray1 = _StringBetween('[18][20][3][5][500][60]', '[', ']')
_ArrayDisplay($aArray1, 'Default Search')
EndFunc ;==>_Main