I come from here: https://www.autoitscript.com/forum/topic/36064-string-delete-after-character/
Im trying to copy some multiline text like this from clipboard:
text text tex text 123x 2x34 345
text text tex text 123 23x4 3x45
text text tex text 123 2x34 345
So I need to remove any character after "spaces" in every line and putit into clipboard with this format:
text text tex text
text text tex text
text text tex text
Im using StringLeft and I it's alright for one line. Is possible to make it multiline?
$String = ClipGet()
$OutPut = StringLeft($String, StringInStr($String, ' ') + 0)
ClipPut ($OutPut)
Thank you!