PHP.nl

hebrevc

hebrevc

Convert logical Hebrew text to visual text with newline conversion

string **hebrevc** string $hebrew_text int $max_chars_per_line

This function is similar to with the difference that it converts newlines (\n) to "
\n". hebrev

The function tries to avoid breaking words.

hebrew_textA Hebrew input string.

max_chars_per_lineThis optional parameter indicates maximum number of characters per line that will be returned.

Returns the visual string.

hebrev