Substring with unknown length (newbie)



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

.



Relevant Pages

  • Re: Substring with unknown length (newbie)
    ... > I'm trying to copy or search a string until a certain character match, ... > character in the source string. ... should do the trick. ... Prev by Date: ...
    (comp.lang.pascal.delphi.misc)
  • Re: FTS Weighted Values Implementation Problem
    ... You have to convert your numeric value to string with ToStringfunction. ... a number into a textbox which assigns the weight value for each ... I don't want the user to have to work with decimals directly, ... I adjusted my SELECT statement using the syntax you provided for the ...
    (microsoft.public.sqlserver.fulltext)
  • SetText Method Confusion
    ... what is the correct syntax for the SetText Method? ... and neither will complile when I use them in my macro. ... before pasting the changed string to the new document. ... into the clipboard, from the clipboard into a DataObject, ...
    (microsoft.public.word.vba.beginners)
  • Need some help...
    ... I've got a snag in my syntax somewhere. ... The custom files are going to become a serious storage issue as our customer ... string through a stream. ... Dim stmStreamIn As IO.StreamWriter = CompressProcess.StandardInput ...
    (microsoft.public.dotnet.languages.vb)
  • Re: String() declaration?
    ... And it becomes a Complete party of HUHS ?? ... the most the classic syntax followed by the "New" C style syntax probably ... Dim temp() as String ...
    (microsoft.public.dotnet.languages.vb)