Hallo zusammen,
für die Funktion StringInStr gibt es die Möglichkeit eine Position einen definierten Inhalt zu bestimmen.
Code
#include <MsgBoxConstants.au3>
; Retrieve the character position of where the string 'white' first occurs in the sentence.
Local $iPosition = StringInStr("This is a sentence with whitespace. White is twice hier. White.", "white")
_ArrayDisplay($iPosition)
MsgBox($MB_SYSTEMMODAL, "", "The search string 'white' first appears at position: " & $iPosition)
Nun wie sieht es mit mehreren Stellen aus (s. Beispiel) ?
Danke und Gruß