![]() |
Java string to delphi
Hi, does anyone know the how to do the following in delphi.
JAVA:
Delphi-Quellcode:
What does \0 mean in java?
string + '\0'
Thank's to everyone! |
Re: Java string to delphi
Hi,
I suppose it means the ASCII-/Unicode-Character 0. In Delphi it would be
Delphi-Quellcode:
Chris
chr(0);
// or #0 |
Re: Java string to delphi
Zitat:
Okay but what char. should reprecent chr(0) then? Don't they start at 1 and goes forward to 256? Or am i Mistaken? |
Re: Java string to delphi
It goes from 0 to 255 ;-)
0 normally represents the end of a string in C or java as far as i remember... |
Re: Java string to delphi
Zitat:
>> ![]() (Nanu? Vorhin war das Posting da oben noch nicht da... :gruebel:) |
Re: Java string to delphi
Zitat:
I will try to use the chr(0) then and see how it works out.. Thanks |
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:10 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz