BBCodeEmailAddressValidator::check_text_length( $strText,  $intMinimum,  $intMaximum )

Description

Source

File: bp-forums/admin/parser.php

function check_text_length($strText, $intMinimum, $intMaximum) {
$intTextLength = strlen($strText);
if (($intTextLength < $intMinimum) || ($intTextLength > $intMaximum)) {
return false;
} else {
return true;
}
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.