{"identifier":56528,"topic":"Functions","name":"foundLine","text":"<code><pre>the foundLine\n<\/pre><\/code>\nValue returned: a line expression equal to the line of a field where the most recent<code> find <\/code>command located its target string. If nothing was found, it returns<code> empty<\/code>.   <br><br>\n\n The line expression has the following form: <br><br>\n\n <code><pre>line <i>i<\/i> of card field <i>n<\/i>\nline <i>i<\/i> of bkgnd field <i>n<\/i><\/pre><\/code> <br>\n<br>\nwhere<code> <i>i<\/i> <\/code>is the line number and<code> <i>n<\/i> <\/code>is the number of the field. <br><br>\n\n Note: A return character determines a line, not the line wrap. A line that wraps and is displayed as two lines is treated as one line by HyperTalk. <br>\n","related":{"24266":null,"32809":null,"53252":"clickLine","37172":"find","63809":"selectedLine"},"examples":"find \"Ann\"\nput the foundLine\n\n-- Using foundLine to select a line:\nfind currentTopic in field \"Topics\"\nselect word 1 to 2 of the foundLine","demo":"on foundLineDemo\n   set cursor to watch\n   find string \"on foundLineDemo\"\n   answer \"The foundLine is\" && the <b>foundLine<\/b> & \".\" & return \u00ac\n   & return & \"The value of the foundLine is \u201c\" &\u00ac\n   the value of the <b>foundLine<\/b> & \"\u201d.\"\n end foundLineDemo\n ","debug":{"9":["the foundLine\r\rValue"],"10":["where i is the line "]}}