mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-04 12:17:35 +08:00
0.0.1
This commit is contained in:
33
docs/c/strlwr.html
Normal file
33
docs/c/strlwr.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<h1>字符串函数 - strlwr</h1>
|
||||
|
||||
|
||||
<p>原型:extern char *strlwr(char *s);</p>
|
||||
|
||||
<p>用法:#include <string.h></p>
|
||||
|
||||
<p>功能:将字符串s转换为小写形式</p>
|
||||
|
||||
<p>说明:只转换s中出现的大写字母,不改变其它字符。返回指向s的指针。</p>
|
||||
|
||||
举例:<pre>
|
||||
|
||||
|
||||
// strlwr.c
|
||||
|
||||
#include <syslib.h>
|
||||
#include <string.h>
|
||||
|
||||
main()
|
||||
{
|
||||
char *s="Copywrite 1999-2000 GGV Technologies";
|
||||
|
||||
clrscr();
|
||||
|
||||
printf("%s",strlwr(s));
|
||||
|
||||
getchar();
|
||||
return 0;
|
||||
}
|
||||
|
||||
</pre>相关函数:<a href="strupr.html">strupr</a>
|
||||
|
||||
Reference in New Issue
Block a user