Serial.find() reads data from the serial buffer until the target string of given length is found. The function returns true if target string is found, false if it times out. find() inherits from the Stream utility class
Serial.find(target)
target : the string to search for (char)
boolean
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Energia getting started guide is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Energia reference is based on Arduino reference. Code samples in the guide are released into the public domain.