🌈 搜索
📅  最后修改于: 2022-03-11 15:01:23.200000             🧑  作者: Mango
// Get last n characters from string var name = 'Shareek'; var new_str = name.substr(-5); // new_str = 'areek'