capital letter
Posted: Thu Mar 17, 2011 1:39 am
				
				How do I go through field fA copying only those lines that begin with a capital letter to field fB?
			Questions and answers about the LiveCode platform.
https://www.forums.livecode.com/
Code: Select all
on mouseUp
   put field "fA" into tData
   repeat for each line aLine in tData
      put charToNum(char 1 of aLine) into tCapital
      if tCapital > 64 and tCapital < 91 then put aLIne & cr after tCollect
   end repeat
   delete last char of tCollect
   put tCollect into field "fB"
end mouseUp