GoLang hebrev

request it (253)
GoLang replacement for PHP's hebrev [edit | history]

Do you know a GoLang replacement for PHP's hebrev? Write it!

PHP hebrev

PHP original manual for hebrev [ show | php.net ]


(PHP 4, PHP 5, PHP 7)

hebrevConvert logical Hebrew text to visual text


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

Converts logical Hebrew text to visual text.

The function tries to avoid breaking words.



A Hebrew input string.


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

Return Values

Returns the visual string.

See Also

  • hebrevc() - Convert logical Hebrew text to visual text with newline conversion