PDA

View Full Version : Function to find the length of a post excluding quotes ?


mihai11
03-02-2008, 06:25 AM
Hello,

Is there a VB function that computes the length of a post excluding quotes from other users ? I am thinking that there should be such a function, because VB has a default minimum limit for the length of a post – which is 10. (excluding the quotes from other users)

Regards,
Razvan

Dismounted
03-02-2008, 08:58 AM
$length = strlen(strip_quotes($text));

mihai11
03-02-2008, 10:09 AM
$length = strlen(strip_quotes($text));

Thank you, it is working !