On Dec 8, 2004, at 1:08 PM, Hershel Fisch wrote:

how do I test on the case of a word of a line ?

Untested:

function isCapitalized @x, n, m
    constant capitalLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    return char 1 word n of line m of x is in capitalLetters
end isCapitalized

If that misses the mark, consider matchText().

Dar
****************************************
    Dar Scott Consulting
    http://www.swcp.com/dsc/
    Programming Services
****************************************

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to