Re: lingo-l lastIndexOf lingo equivalent

2005-11-23 Thread Cole Tierney
Good work, Tom! Eat some turkey, have a nap, then regroup. Thanks for sharing that link, Darrel. At 9:47 AM -0800 11/23/05, Darrel Plant wrote: I don't know. It sounds like coverage of the race was pretty positive. 25% of the vote when you got outspent over 10:1? That's a good thing.

Re: lingo-l lastIndexOf lingo equivalent

2005-11-23 Thread Darrel Plant
Well, as Tom and some others know, I'm another Director developer who's run (although not as seriously as Tom) for a state legislative seat. In 1994 I got about 23% of the vote in a primary for the Oregon House where I was outspent 20:1. The district is about 70% Democratic, and whoever wins

RE: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Mendelsohn, Michael
is it the # of the last element in a list? Sorry, Buzz. I should've been clearer. I'm looking for a quick way to take a path (string) and chop it down to just the file name. I came up with this: on reduceToFileName(thePath) -- chops off all slashes (char 92) and returns just the file name.

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Valentin Schmidt
hi michael, a common way do this is to use tPathDelimiter = \ -- or: the last char of the moviepath the itemdelimiter = tPathDelimiter tFileName = the last item of tPath cheers, valentin Mendelsohn, Michael wrote: is it the # of the last element in a list? Sorry, Buzz. I should've been

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Bart Pietercil
The technique I'm usually using is this if the platform.environment contains windows then separator = / else separator = : end if OldDelimiter = the itemdelimiter the itemdelimiter = separator filename = the last item of filepath -- assuming filepath contains the whole string the

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Buzz Kettles
BTW - Tom, did you get elected? Nope. It was a bad night to be a Republican in the Commonwealth of Virginia. Sorry about that - I had forgotten that the Republican for Gov didn't get elected even w/Dubya's help ... Better luck next time. -Buzz [To remove yourself from this list, or to