WPCubed Product Support

Count number of words bolded?

Is there a simple way to count how many words on a given line are in bold?

Alan

#1 ♥ 0
2.7k Views 2 users read 1 min
support

Hi,

no. It is necessary to read the charattr and check if the attribute bold is used. See CPChar, CPMoveNext and CPAttr

See the

Julian

#2 ♥ 0
This category is archived. No new posts are possible.