🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14517

Re: [JS] Copying a small string to memory (and deleteing it)

#14517
From: Dave_Saunders
Date: Tue, 27 Jan 2004 16:26
6 lines
830 bytes
The second parameter represents the index in the string to start looking. So, do this:

myStart = myString.indexOf("\t",3);
myEnd = myString.indexOf("\t",myStart+1);

Dave
Technical Details
Message-ID: <2ccf9ac5.4@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf9ac5.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,47d76c5f53276933
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-27 08:38:07 PST
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS] Copying a small string to memory (and deleteing it)
Message-ID: <2ccf9ac5.4@webx.la2eafNXanI>
Date: Tue, 27 Jan 2004 08:26:35 -0800
References: <2ccf9ac5.-1@webx.la2eafNXanI>
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit