在Excel中删除指定string中的特殊字符
我想从Excel中的string中删除一个字符。 我如何从指定的string中删除第一个和最后一个字符? 在Excel表格中,每列都有数据。 一些以$$字符开始和结尾的testing,我需要从string中只删除第一个字符($)和最后一个字符($)。
示例:单元格1:
$$hello world$$. World is beautiful. $$where there is will there is a way.$$ money makes many things.
应该代表:
$hello world$. World is beautiful. $where there is will there is a way. $money makes many things$.
谢谢大家
您可以使用SUBSTITUTE()公式
=SUBSTITUTE(A1,"$$","$")
作为一个非公式化的替代方法是突出显示你想修改的单元格,并做一个查找和replace(crtl + f),其中find:$$和replace为:$ …取决于你有多less个string试图编辑这可以是更大的数量,更容易…