Re: Anyone know how...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



O-('' Q) wrote:
> Bleh... this code is bugging the heck outta me.
>
> Thanks anyway for the help you all DID give. I truly appreciate the
> efforts.

Any chance you could post a description of what it's meant to do in
English, rather than in Delphi? I suspect not many readers know Delphi
(I don't) and although we could guess what's wanted, describing it in
words may well suggest a better approach.

I mean, it *looks* like it's trying to skip 'v' characters at the start
of the line, skip the next 7 characters, then take everything up to the
next quote. Frankly, that sounds like the job for a regular expression
rather than a translation of the Delphi code. Does that description
sound correct to you? If so, could you include some sample test strings
(input and desired output) so we could try to get a working solution
for you quickly?

Jon

.



Relevant Pages

  • Re: MYSQL - ADO Insert problem - Help please
    ... in 50 there - seems that your ODBC driver detect the field size ... > I use an ODBC-Connection with DELPHI to insert new Items in the table. ... > "Text12345" (9 characters) ... > If the biggest entry is 20 characters long, it will be truncated to 20. ...
    (borland.public.delphi.database.ado)
  • Re: I suppose the idea of classes and inheritance is
    ... Look Jamie, Rob and I are not making a personal attack, we are simply ... If your code relies on accessing characters of a string that aren't in the range of that string, then yes, your code is wrong. ... With WideString values, Delphi misinterprets the length field as a character count when it's really a byte count, so accessing characters in the range ) is allowed, even though the only safe range is. ...
    (alt.comp.lang.borland-delphi)
  • Re: Delphi Quiz: SetLength( WideString, 10 );
    ... > What about string conversions? ... Delphi doesn't do UCS-4. ... UCS-4 characters anyway since Windows uses UCS-2, ... Just like UTF-8 encodes characters ...
    (alt.comp.lang.borland-delphi)
  • Re: Displaying graphics characters
    ... Those characters are Unicode, ... which does not display properly with native Delphi controls. ...
    (comp.lang.pascal.delphi.misc)