<?php $text = "Hi My name is firas. yeah. third sentnece. umhm"; $sentences = explode('.', $text); $max_sentences = count($sentences); var_dump( $max_sentences, $sentences);
You have javascript disabled. You will not be able to edit any code.