Is there a way to delete everything after a certain character from a instring? Say, for example, that a instring had the value of NAME.EXT. Could I remove the . and everything after it (.ext)? Thanks for any help or pointers.