PHP hebrevc() Function

Last Updated:

PHP hebrevc()

The hebrevc() function converts logical Hebrew text to visual text with newline conversion. It also converts new lines (\n) into <br>.

Note: This function tries to avoid breaking words.

Example

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

Syntax

hebrevc(hebrew_text, max_chars_per_line)

Parameter Values

ValueTypeExplanation
hebrew_text Required Specifies a Hebrew text.
max_chars_per_line Optional Specifies the maximum number of characters per line that will be returned.

Return Value

ValueExplanation
Number Returns the visual string.

Share this Page

Meet the Author