[go-nuts] Re: String Split Question

2016-07-19 Thread Tamás Gulácsi
Search for ESSID:" and the the next ", your data will be there. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more

[go-nuts] Re: String Split Question

2016-07-19 Thread UlyssesF
Hi there. I have a similar requirement to extract a specific piece information from the output of a Linux command. I'm running a iwlist to get all BSSID names (ESSID field). Here's the code followed by the output: iwlistCmd := exec.Command("iwlist", iface, "scan") iwlistCmdOut, err := iwlistCmd