Showing posts with label PHP hebrevc. Show all posts
Showing posts with label PHP hebrevc. Show all posts

Friday, 26 September 2014

hebrevc in PHP

PHP hebrevc() function is utilized to change over the Hebrew logical text  to Hebrew visual text. It additionally changes over the new lines(\n )  into  <br/>  tag.

Syntax:

hebrevc(string,maxcharline)
 
Parameters description:
 
String : Required.A Hebrew  input text.
maxcharline : Optional. Indicates maximum number of characters for every line that will be returned.
Note: PHP hebrevc() function is comparative to hebrev() with the distinction that it changes over newlines (\n) to  "<br>\n".
The function tries to avoid from breaking statements.

Example:

<?php 
echo hebrevc(" á çùåï äúùñâ\ná çùåï äúùñâ  ");
?>

Output:

âñùúä ïåùç á 
á çùåï äúùñâ