🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2152

Re: [JS] Return search results

#2152
From: Peter Kahrel
Date: Fri, 09 Jan 2009 08:01
3 lines
711 bytes
.match() returns an array. To return a string, do myString.match(/\d+/)[0]

Peter
Technical Details
Message-ID: <59b77730.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <0821859AF660DEFAB55388E0A4F536FE@in.webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,54b38cedd87bfd75
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Peter Kahrel" <kahrel@kahrel.plus.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS] Return search results
Message-ID: <59b77730.1@webcrossing.la2eafNXanI>
Date: Fri, 9 Jan 2009 00:01:23 -0800
References: <0821859AF660DEFAB55388E0A4F536FE@in.webcrossing.la2eafNXanI>
Lines: 4
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit