Reverse Hebrew characters and convert new lines (n) to <br>:
<?phpecho hebrevc("á çùåï äúùñâná çùåï äúùñâ");?>The hebrevc() function converts Hebrew text from right-to-left flow to left-to-right flow. Also, convert new lines (n) to <br>.
Tip: hebrevc() and hebrev() can convert Hebrew logical text (Windows encoding) to Hebrew visible text. Hebrew visible text does not require special right-to-left character support, making it useful for displaying Hebrew text on the Web.
hebrevc( string,maxcharline )
parameter | describe |
---|---|
string | Required. Hebrew text. |
maxcharline | Optional. Specifies the maximum number of characters per line. hebrevc() will avoid breaking words if possible. |
Return value: | Returns a visible string. |
---|---|
PHP version: | 4+ |