SOURCE

const str = "分管副院长意见:110"

// let res = str.includes('分管副院长意见', 0)
let res = str.includes('院长意见', 0)

console.log(res)

let index = str.indexOf('院长意见')
console.log('索引', index)



const str1 = "院长审批意见(接待前)"
console.log(str1.indexOf("院长审批意见(接待前)"))
console.log(str1.search("院长审批意见(接待前)"))

console 命令行工具 X clear

                    
>
console