2011年5月19日 星期四

字串處理函式

最近在處理字串大小寫問題, 上網找了找相關資料, 連結如下
http://masm1215.myweb.hinet.net/turbo_c/c_func.htm

截取幾個可能會用到的標記一下:

strcmpi  string.h  不考慮字母之大小,比較兩字串。
stricmp  string.h  不計大小寫之字串比較。
strlwr   string.h  大寫字母轉小寫。
strupr   string.h  小寫字母轉大寫。
strstr   string.h  子字串搜尋函數。

沒有留言:

張貼留言