Loader

hebrevc

This function is similar to hebrev() with the difference that it converts newlines (\n) to "<br>\n". The function tries to avoid breaking words. Test hebrevc online.

string hebrevc ( string $hebrew_text [, int $max_chars_per_line = 0 ] )

PHP Documentation by the PHP Documentation Group

hebrevc

(PHP 4, PHP 5, PHP 7)

hebrevcConvert logical Hebrew text to visual text with newline conversion

Description

hebrevc ( string $hebrew_text [, int $max_chars_per_line = 0 ] ) : string

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

The function tries to avoid breaking words.

Parameters

hebrew_text

A Hebrew input string.

max_chars_per_line

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

Return Values

Returns the visual string.

See Also

  • hebrev() - Convert logical Hebrew text to visual text

PHP Documentation

Copyright © 1997 - 2016 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Creative Commons Attribution 3.0 License or later. A copy of the Creative Commons Attribution 3.0 license is distributed with this manual. The latest version is presently available at » http://creativecommons.org/licenses/by/3.0/.