I have a string that is 141 characters in length. Using the following code I have an if statement to return a message if the string is greater or less than 140.
if
$message is propably not a string at all, but an array. Use $message[0] to access the first element.
$message
$message[0]