Newbie Applescript Runner question

I am fascinated by this

tell application "AppleScript Runner"
	set fullName to call method "lastPathComponent" of thePath
	set filename to call method "stringByDeletingPathExtension" of fullName
	quit
end tell

But because I am not a programmer I have no idea where to find “lastPathComponent” and “stringByDeletingPathExtension” commands.
Presumably they are buried in the System somewhere but I cant find them.

Could someone point me in the right direction please

Hi,

both are methods of class NSString which belongs to the Foundation framework

Thanks Stefan

Looks like I’m going to have to get a big book out