To split a sentence or paragraph in AutoIt:
$origional = ClipGet()
Local $string = ClipGet()
Local $arrayofsubstrings = StringSplit($string, '!')
Local $substringcount = 1
Local $outToClipPut
Do
$outToClipPut = $arrayofsubstrings[$substringcount]
ClipPut($outToClipPut)
Send("{CTRLDOWN}v{CTRLUP}")
Send(@CRLF)
$substringcount = $substringcount + 1
Sleep(300)
Until $substringcount = 100
I already replaced newlines and whitespaces by '!', and '!!' with '!'. I want to split the string into an array of single characters, but I have nothing to replace with '!'.
I don't have a parameter to pass into StringSplit($string, 'no parameter to pass in here')
. How to output individual characters in $outToClip
?