Re: Source String Search


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on January 01, 2004 at 23:26:27:

In Reply to: Source String Search posted by Glenn Tanner on January 01, 2004 at 21:11:16:

When we added to the fstat function to accommodate extensions, we mistakenly were too stingy with string space. We did not put the dot between the file name and the extension. To advance the fstat, you must put the dot in there yourself. The following example shows what I mean.

for i = 1 to 10
a$ = sub(fstat(a$,dir='tm0',excp=done),35,11)
b$ = sub(a$,9,3)
if strip(b$) ne '' a$ = strip(sub(a$,1,8)) + '.' + b$
print a$
next i

Try adding the above logic to your program.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]