12 lines
234 B
C
12 lines
234 B
C
#include <stdio.h>
|
|
#include <jstring.h>
|
|
|
|
JCHAR source[] = { "A sample STRING" };
|
|
|
|
void main()
|
|
{
|
|
printf( "%s\n", source );
|
|
printf( "%s\n", jstrnset( source, '=', 100 ) );
|
|
printf( "%s\n", jstrnset( source, '*', 7 ) );
|
|
}
|