* Function:
* 1. Replace the first oldstr with newstr IN srcstr
* Arguments:
* IN :
* srcstr
* oldstr
* newstr
* OUT :
* srcstr
* Return:
* 1. If fINd and replace one oldstr with newstr IN srcstr , return 1
* 2. If fINd no oldstr IN srcstr , return 0
* 3. If error (malloc return NULL) return -1
* Notes:
* 1. srcstr should be large size enough.
標簽:
Arguments
Function
Replace
oldstr
上傳時間:
2014-12-20
上傳用戶:Yukiseop