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: inconsistent behavior of >FLOAT
    ... If the string represents a valid floating-point number in the syntax ... if the string does not match the syntax given then false ... ">FLOAT enables programs to read floating-point data in legible ASCII format. ...
    (comp.lang.forth)
  • Re: Just a bit of silliness
    ... Is that the syntax and grammar resemble the stammer ... Can't guess how to copy a string. ... Is the very last} "close curly bracket" ... format strings. ...
    (comp.lang.c)
  • 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)