PHP string function hebrevc

The String function hebrevc() converts Hebrew text from right-to-left (RTL) to left-to-right(LTR).

Syntax

Parameter Description
hebrew_str This is a required parameter which defines the Hebrew string.
chars_per_line  This is an optional parameter which defines the maximum characters for each line.

Return Value

It will return the visual string.

PHP Version: PHP 4, PHP 5, PHP 7