/ Stringified: check that this column is in the stringified list. */ /
| 115 | /* Stringified: check that this column is in the stringified list. */ |
| 116 | /***********************************************************************/ |
| 117 | bool Stringified(PCSZ strfy, char *colname) |
| 118 | { |
| 119 | if (strfy) { |
| 120 | char *p, colist[512]; |
| 121 | int n; |
| 122 | |
| 123 | strncpy(colist, strfy, sizeof(colist) - 1); |
| 124 | n = PrepareColist(colist); |
| 125 | |
| 126 | for (p = colist; n && p; p += (strlen(p) + 1), n--) |
| 127 | if (!stricmp(p, colname)) |
| 128 | return true; |
| 129 | |
| 130 | } // endif strfy |
| 131 | |
| 132 | return false; |
| 133 | } // end of Stringified |
| 134 | |
| 135 | #if 0 |
| 136 | /***********************************************************************/ |
no test coverage detected