For example, I have this string: "request:FLTMODE6"
and i want to remove ":FLTMODE6" to get "request" and remove "request:" to get "FLTMODE6"
Im working with NodeJs, how could this be done?
如何使用split而不是像"request:FLTMODE6".split(':')
这样的正则表达式
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.