🌈 搜索
📅  最后修改于: 2022-03-11 15:01:45.090000             🧑  作者: Mango
var myString = "this.is.my.file.txt" alert(myString.substring(myString.lastIndexOf(".") + 1)); // Result txt