Adding to available intrinsic functions

Is there a way to write custom intrinsic functions?  Currently, the list includes items like LENGTH, ABS, LOWER-CASE, UPPER-CASE, and so on.  Can I add additional ones to this list, or should I continue to use stuff like C$SYSTEM and pipe files?  Specifically, I would love to add some string searching and manipulation functions.