77家的会客2010

日归档: 2005年07月08日 | 记录数: 1
ColdFusion中常用几种字符串查找函数
Weather:雾 ,东南风 3-4级 ,最高气温25 ℃

字符串操作函數有以下幾種,find,findnocase,findoneof,replace,compare

find:Find(substring, string [, start ]),找出substring在string中的起始位置,返回一個數字,如果沒有找到,就返回0。這個函數是case sensitive的,就是說是區分大小寫的。

findnocase:FindNoCase(substring, string [, start ]),用法同find,只是個函...