Current Location: Home> Function Categories> hebrevc

hebrevc

Convert logical-Hebrew to visual-Hebrew and convert newlines
Name:hebrevc
Category:String
Programming Language:php
One-line Description:Convert Hebrew text to visible text and convert new lines (\n) to.

Definition and usage

hebrevc() function converts Hebrew text from right to left to left stream. At the same time, convert the new line (\n) to <br>.

Tip: hebrevc() and hebrev() can convert Hebrew logical text (Windows encoding) into Hebrew visible text. Hebrew visible text does not require special right-to-left character support, which makes it useful for displaying Hebrew text on the Web.

Example

Show Hebrew characters in reverse and convert new lines (\n) to <br>:

 <?php
echo hebrevc ( "? ???????? ????\n? ??????????" ) ;
?>

Try it yourself

grammar

 hebrevc ( string , maxcharline )
parameter describe
string Required. Hebrew text.
maxcharline Optional. Specifies the maximum number of characters per line. If possible, hebrevc() will avoid breaking the word.
Similar Functions
Popular Articles