Substring with unknown length (newbie)
- From: "Lene" <lenehell@xxxxxxxxxxx>
- Date: 25 Nov 2005 05:46:54 -0800
that means I'll have difficulties using the 'copy' function since
it requires length parameter.
I'm trying to copy or search a string until a certain character match,
and then null-terminate. something like (pseudo) :
Search string[ i++] until string [ i] = '>';
string [ i+1] := #0;
Maybe I'll obtain a substring merely by inserting a null
character in the source string.
But maybe it is the syntax that is my problem.
Thank you for your time
L.Hellgren
.
- Follow-Ups:
- Re: Substring with unknown length (newbie)
- From: alanglloyd@xxxxxxx
- Re: Substring with unknown length (newbie)
- From: Andreas Koch
- Re: Substring with unknown length (newbie)
- From: Sonnich
- Re: Substring with unknown length (newbie)
- From: Bruce Roberts
- Re: Substring with unknown length (newbie)
- From: Tom de Neef
- Re: Substring with unknown length (newbie)
- From: J French
- Re: Substring with unknown length (newbie)
- Prev by Date: Re: creating properties with sub-properties (like TFont)
- Next by Date: Re: Substring with unknown length (newbie)
- Previous by thread: Using Delphi for mobile apps??
- Next by thread: Re: Substring with unknown length (newbie)
- Index(es):
Relevant Pages
|
|