sex123 发表于 2014-7-17 19:44:47

如何去掉字符串中前面特定的字符?

Read full text in Public Library of Science
Read full text in HighWire
Read full text in Springer
这几个变量,怎么去掉Read full text in (in后面还有一个空格也去掉)
得到以下变量
Public Library of Science
HighWire
Springer
注意,Read full text in 这几个字符是固定的,怎么搞定呢?

gto250 发表于 2014-7-17 20:33:04

$str="Read full text in Public Library of Science" &@CRLF& _
"Read full text in HighWire" &@CRLF& _
"Read full text in Springer"

$str=StringReplace($str,"Read full text in ","")
MsgBox(0,"",$str)
页: [1]
查看完整版本: 如何去掉字符串中前面特定的字符?