Dear Gregory
Now you understand what PITA i deal with for years :-)
Jaime
>Jaime,
>
>I know Hebrew is written right to left - but did not know that numbers were written left to right
>
>Yes, post the solution - with an example - it may help others
>
>>Dear Gregory
>>Thanks for the help, but i cannot reverse the whole string ( i have numbers, english characters and what not, all stuff that need not be reversed, only the hebrew sentences ).
>>Boris' solution seems perfect, since i was looking like crazy to implement the ISO-8859-8 encoding ( Hebrew Visual ) but couldn't find it anywhere. I'll post if that works fine...
>>
>>Jaime
>>
>>>If there are no hex 00 in the string, this works as well
>>>
>>>
>>>function StringReverse(s)
>>>
>>> declare string _strrev in msvcrt.dll as StringReverse string
>>>
>>> return StringReverse(m.s)
>>>endfunc
>>>
Why do programs stop working correctly as soon as you leave the Fox?