Ok, I *like* easy ones:

> I know I am going to kick myself for this one BUT how
> do I get a part of a string from a string?

thatString := copy(thisString,StartPos,Length_Desired);

e.g.

NewString := copy('This is the original',6,2);  // gets "is"



cheers,
peter

============================================
Peter Hyde, WebCentre Ltd & SPIS Ltd, Christchurch, New Zealand
* Web automation for online periodicals: http://TurboPress.com
* TurboNote+: http://TurboPress.com/tbnote.htm
  -- easy, small, handy onscreen sticky notes
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to