JavaScript 文字列操作 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(文字列検索(文字列変数後方検索) lastIndexOf)
(文字列検索(文字列変数後方検索) lastIndexOf)
704行: 704行:
 
strData18 = new String("文字列検索(lastIndexOf)-last");
 
strData18 = new String("文字列検索(lastIndexOf)-last");
  
document.write(".indexOf() : ",strData18, " ,検索位置 = ", strData18.indexOf("last"), "</BR>");
+
document.write(".lastIndexOf() : ",strData18, " ,検索位置 = ", strData18.indexOf("last"), "</BR>");
 
</yjavascript>
 
</yjavascript>
  

2016年7月25日 (月) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス