> Reply-To: scoug-programming@scoug.com
> Date: Thu, 8 Nov 2001 06:00:39 PDT
>
> dallas_kincyb wrote:
> >
>
> Not sure if you're looking for the function names or the functionality.
I hadn't considered putting any restrictions on the answers I might
get.
> Here's some functionality:
>
> > fullyqualifiedfilename = Qualify( filename )
>
> SysFileTree()
Ok, you can ferret it out from there, yes.
I think you could paste the results from Directory() onto filename
too, if your making your own.
Need to verify that it exists first.
>
> > newhaystack = CHANGESTR( needle, haystack, newneedle )
>
> translate()
Not!
The needle/haystack paradigm in Rexx is usually used for
strings, not individual characters.
It's 'change string', not 'change character'.
>
> > count = COUNTSTR( needle, haystack )
>
> I wrote a PosList() routine a few days ago which creates a stem variable
> list of the positions in a string where a "needle" string occurs. The
> returned .0 stem value contains the "count". It uses Pos() and indexes
> its way through the string.
>
> - Peter
Yes, that would have value in the .0 stem.
>
>
>
So you found nothing in the documentation or via experimentation
with Rexxtry etc., the original question?
I'm going to presume not until someone tells me otherwise.
Regards,
Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com
Powered by......Lynx, the Internet at hyperkinetic speed.
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 08 |
November |
2001 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.