Code: Select all
TestString := "This is a test."
word_array := StrSplit(TestString, A_Space, ".") ; Omits periods.
MsgBox % "The 4th word is " word_array[4]
eg:
[Barry]
year=2021
month=09
runs=5
The output should be something like
"Barry" "Text" "run count" (which in this case is 5) { Barry Text 5 }
I will try to add the text by myself. I don't even know how to proceed in the first place.
Regards.