This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/kanji/jstrmatc.c

19 lines
367 B
C

#include <stdio.h>
#include <jstring.h>
void main()
{
JSTRING str;
str = jstrmatch( "Gone for lunch", "aeiou" );
if( str != NULL )
printf( "%s\n", str );
else
printf( "Not found\n" );
str = jstrmatch( "Gone for lunch", "xyz" );
if( str != NULL )
printf( "%s\n", str );
else
printf( "Not found\n" );
}