Returns the number of wide characters in the initial segment of a string.
size_t wcsspn(
WcString1, WcString2)
const wchar_t *WcString1, *WcString2;
The wcsspn subroutine computes the number of wchar_t characters in the initial segment of the string pointed to by the WcString1 parameter. The WcString1 parameter consists entirely of wchar_t characters from the string pointed to by the WcString2 parameter.
WcString1 | Points to the initial segment of a string. |
WcString2 | Points to a set of characters string. |
The wcsspn subroutine returns the number of wchar_t characters in the segment.
This subroutine is part of Base Operating System (BOS) Runtime.
The wcschr subroutine, wcscspn subroutine, wcspbrk subroutine, wcsrchr subroutine, wcstok subroutine, wcswcs subroutine.
National Language Support Overview for Programming, Subroutines Overview, Understanding Wide Character String Search Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.