Something like charIndex, but in a variable...

dunbarx dunbarx at aol.com
Thu Apr 30 10:55:42 EDT 2015


Just so. Too fast on keyboard, too slow in brain. How about this: 

on mouseUp 
   put fld 1 into temp 
   get the number of chars of word 1 to 8 of temp -- first char 
   answer it & "," & the number of chars of word 8 of temp + it 
end mouseUp 


Craig 




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Something-like-charIndex-but-in-a-variable-tp4691661p4691679.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list