Monday, 9 September 2013

Test to see if first letter is capitalized

Test to see if first letter is capitalized

I was wondering if there is a way to test if the first letter in a table
cell is capitalized without ripping the letter and comparing it to an
array full of CHR codes or looping 26 instr() functions for every cell.
Basically, we have clients that send us tables in which the stub cell (far
left) has part of the sentences on one line and then the rest on the line
below, indented. The issue is that I can't use the indents to test for
these scenarios because other cells are indented for other reasons. I need
to apply row shading depending on these scenarios and I'm having a hard
time finding an efficient way to test for this.

No comments:

Post a Comment