Subversion Repositories wimsdev

Rev

Rev 11240 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +exec+ +var+ +string+
  2. tit:positionof
  3. type:$type_both
  4. alias:position, positions
  5. syntax:!positionof [`type'] `s' in `string'
  6. mean:·µ»Ø¶ÔÏó `s' ÔÚ `string' ÀïµÄλÖÃ. <br>\
  7.  `type' ¿ÉÒÔÊÇ <tt>char</tt>, <tt>word</tt>, <tt>item</tt> »ò\
  8.   <tt>line</tt>. Èç¹û±»Ö¸¶¨, ¾ÍÔÚ `string' ÀïѰÕÒÓë `s' ÍêÈ«ÏàͬµÄ¶ÔÏó. <br>\
  9.   ÃüÁîµÄÊä³öÊÇ `s' ³öÏÖÔÚ `string' ÀïµÄλÖñí\
  10.   (×÷Ϊ×Ö·û, ´Ê, Ïî»òÐÐ, ÓÉ `type' È·¶¨). <br>\
  11.  Èç¹ûûÓÐÖ¸¶¨ `type', Ôò `s' ¿´×÷\
  12.  `string' µÄ×Ö´®, ±¨¸æµÄλÖÃÊÇ×Ö·ûµÄλÖÃ.
  13.