matches("{kw}", ["{known}"])
Where kw is the array of current ssid I'm seeing and known is the list if there is a match I want it to connect.
Thanks for any help
I found this, will attempt this solution.
matches(kw, "(?:first|second|third)")intersect(kw, ["first", "second", "third"])matches(kw, "(?:{known;join;|})")split(kw, "\n")
Yes I'm sorry I made a typo. But what it returns from Wi-Fi available is a series of Wi-Fi in a comma separated list as in,
X wifi, y Wi-Fi and so on
When I try to do intersect with this list out doesn't find match
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/f6UNKBYmmUY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at http://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/03bec113-9f78-453c-ac8f-a408dc0cd5a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes I'm sorry I made a typo. But what it returns from Wi-Fi available is a series of Wi-Fi in a comma separated list as in,
X wifi, y Wi-Fi and so on
When I try to do intersect with this list out doesn't find match
Why is it when I try to call {trustedwifi[0]} it returns 55 which is not the first entry in file nor does it exist at all, thanks again for your help, I appreciate it
--
You received this message because you are subscribed to a topic in the Google Groups "Automate" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/automate-user/f6UNKBYmmUY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to automate-use...@googlegroups.com.
To post to this group, send email to automa...@googlegroups.com.
Visit this group at http://groups.google.com/group/automate-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/automate-user/6567f467-841e-4938-95fc-d0bfe2496e41%40googlegroups.com.
Why is it when I try to call {trustedwifi[0]} it returns 55 which is not the first entry in file nor does it exist at all, thanks again for your help, I appreciate it
Is there a regular expression to use with split that would make index after each comma?