if ( strlen(src)-1 <= k) return(0);
if ( (int) (strlen(src) - 1) <= k) return(0);
int get_word(char *src, char *dest, int pos) { /*0 if no more words in src, else new pos*/  int k,j;    k = pos;  if (src[k] == ' ')  k++;  if ( strlen(src)-1 <= k) return(0);    j = 0;  if (src[k] == '{') {	  while (src[k] != '}') {		  dest[j] = src[k];		  j++;		  k++;	  }  }  else while (src[k] != ' ') {    dest[j] = src[k];    j++;    k++;  }  dest[j] = 0;  return(k);}