Find the occurence of a character in a string
<p>Could someone please tell me how to find the occurence of a character in a string? I have to check the number of lines getting displayed (using the br tag) in a dynamically created div. Thanks in advance,
Ashriya</p>
