       {
         memcpy(vbuf,sbuf+vstart,vlen);
         if((vlen > 0)&&(isNumber))
-          vval=atol((char *)vbuf);
+        {
+          String finalNum="";
+          for(uint8_t *v=vbuf;v<(vbuf+vlen);v++)
+            if((*v>='0')&&(*v<='9'))
+              finalNum += (char)*v;
+          vval=atol(finalNum.c_str());
+        }
       }
       
       if(logFileOpen)

        || (lastCmd=='p')||(lastCmd=='P')
        || (lastCmd=='t')||(lastCmd=='T'))
        {
          const char *DMODIFIERS=",lbexprtw";
          while((index<len)&&(strchr(DMODIFIERS,lc(sbuf[index]))!=null))
            dmodifiers += lc((char)sbuf[index++]);
          vstart=index;

    if(found==null)
      return ZERROR;
    delete found;
    PhoneBookEntry::savePhonebook();
    return ZOK;
  }
  char *comma = strchr(rest,',');
