SoyArcano Posted October 21, 2017 Posted October 21, 2017 (edited) i will have one input, in this input i will write a string with some delimiters like hello@this@isanexample but i'm not sure how to separate them ? Edited October 21, 2017 by SoyArcano
algiuxas Posted October 21, 2017 Posted October 21, 2017 (edited) Hello! This is really easy using "StringSplit" function! Example: $text = "abc 123@test@test abc" $split = StringSplit($text,"@") For $i = 1 to $split[0] Consolewrite("$split["&$i&"] = "&$split[$i]&@CRLF) Next ; I will kill Android keyboard... It doesn't want to write spaces and other stuff... $split is an array, $split[0] says how many strings are in this array. Edited October 21, 2017 by algiuxas After switching years ago to Linux, sadly I don't use AutoIt anymore.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now