{
  char moji[] = "aaaaa.bbbbbb.cccccc.ddddddd.eee";
  strrchr(moji, '.')[-1] = '\0';
}