Hi HSE
Sorry for the delay, but I was a bit busy. I found a problem when the starting character was the last in the source string. Due to a wrang comparison, the function was aborted returning zero.
Attached the corrected version of the ANSI and the wide string functions. BTW, when the function returns, eax contains the number of chars copied.
Biterider