摘要:
<template> <div class="main printTemplate printTemplateD"> <div class="titleBox"> <el-row :gutter="20"> <el-col :span="22"><div class="grid-content bg 阅读全文
摘要:
var str = "/aaaa/bbbb/ccc/cccc/dddd"; var index = str .lastIndexOf("\/"); str = str .substring(index + 1, str .length); ———————— 来源:https://blog.csdn. 阅读全文
摘要:
var str=test_order_zhang_201703222332; var laststr=str.lastIndexOf('_'); var newStr=str.substring(0,laststr); 结果 :test_order_zhang ———————— 来源:https:/ 阅读全文