added analogues to strchr/strrchr for cord positions to cord_extra.c