On 1/16/2015 4:09 PM, Shawn Blc wrote:
Phil that was the one that worked like I was hoping.   Thanks John and
Phil!   Don't need the extra Php file now!

Here's another way:

on mouseUp
  put fld 1 into tText
  put 0 into tSkip
  repeat
    get offset("https://www.domainb.com/",tText,tSkip)
    if it > 0 then
put the number of words in char 1 to (it + tSkip) of tText into tWordNum
      put word tWordNum of tText & cr after tList
      add it to tSkip
    else
      exit repeat
    end if
  end repeat
end mouseUp

Lots of ways to do stuff in LC.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to