hebrevc
Convert logical-Hebrew to visual-Hebrew and convert newlines
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.
Show Hebrew characters in reverse and convert new lines (\n) to <br>:
<?php echo hebrevc ( "? ???????? ????\n? ??????????" ) ; ?>
Try it yourself
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. |