PHP.nl

hebrev

hebrev

Convert logical Hebrew text to visual text

string **hebrev** string $string int $max_chars_per_line

Converts logical Hebrew text to visual text.

The function tries to avoid breaking words.

stringA Hebrew input string.

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

Returns the visual string.

hebrevc