[fpc-pascal] Change Endian of String types
ik
idokan at gmail.com
Mon Nov 26 18:51:51 CET 2012
On Mon, Nov 26, 2012 at 10:42 AM, ik <idokan at gmail.com> wrote:
> On Mon, Nov 26, 2012 at 10:29 AM, Vincent Snijders
> <vincent.snijders at gmail.com> wrote:
>>
>>
>> 2012/11/26 ik <idokan at gmail.com>
>>>
>>> Hello,
>>>
>>> Is there a way to convert endian of a string (from little to big and
>>> vice versa) ?
>>
>> What kind of string you want to convert? For example a PChar is trivial.
>
> ShortString, AnsiString, UTF8String, WideString and UnicodeString :)
Should ReverseString work just as well ? :)
>
>>
>> Vincent
>>
>> _______________________________________________
>> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list