Monday, November 08, 2010 at 12:05 AM.


on lastField (s, chdelim) {
		<<11/1/07; 10:23:19 AM by DW
			<<Created. Got tired of writing this bit of code over and over. 
	return (string.nthfield (s, chdelim, string.countfields (s, chdelim)))}
<<bundle //test code
	<<dialog.alert (string.lastField ("", "/"))

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.