TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: FREDERICK HOLMES
date: 1997-05-08 03:18:00
subject: Find() n times?

From: Frederick Holmes 
Editor.)
  Can one do a Find (with Ctrl-F, or with Find()) a specific number
  of times?  One seems to be able to do a replace a specific number
  of times, but not a find.  At least I don't seem to find it on
  the help screen as an option parameter for Find().  It also
  doesn't seem to be a feature of regular expressions.
 
  I am editing a comma-delimited ASCII database.  I want to go to the
  nth field in a record.  I want to find the nth occurrence of a
  comma, starting at the beginning of a line.  I don't want to have
  to count n manually.
 
  I suppose I could try replacing "," with "," n times, and that
  would get me to the comma I want to be at, without actually
  changing anything, but that seems to be a kludgy way of going
  about it.
 
  If this isn't a feature, please consider adding it.  I suppose I
  could write a macro, but it seems such a useful function, that I
  would think it would be built-in.  (I just haven't had to deal
  with a comma-delimited database up until now.)
 
  My usual link to this list is temporarily "broken" so I am trying
  a different link.  I sent an "add" message earlier.  Hopefully
  it worked.
 
  Fred Holmes   fsholmes@cpcug.org
>> Qedit (Fidonet) > Qedit (Internet Mailing list)           >>
>> To post a message send to qedit@sawasdi.apana.org.au                    >>
>> For listserv information send an email to listserv@sawasdi.apana.org.au >>
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.