#pragma once

#include "stdafx.h"


// Copies string 'src' terminated by one of symbols in 'delim' string, which is null-terminated
// ATTENTION: function doesn't put '\0' to the end of copied string.
//		char dst[cchDstSize];
//
//		size_t retval = DelimStrCpy(dst, "somestring;anotherstring;", ";", limit, cchDstSize-1);
//		dst[retval] = '\0';  to get "somestring;" in 'dst'
//
size_t DelimStrCpy(char *dst,
			const char *src,
			const char *delim,
			const char *limit, 
			size_t cchDstSize);
Соседние файлы в папке PhoneDB