[英]Remove special characters from the specified string in excel
I am trying to remove a character from a string in excel. 我正在尝试从Excel中的字符串中删除字符。 How can I remove the first and last character from the specified string?
如何从指定的字符串中删除第一个和最后一个字符? In excel sheet I have data in every column.
在Excel工作表中,每一列都有数据。 Some of the test starting and ending with $$ characters, I need to remove only first character ($) and last character ($) from the string.
有些测试以$$字符开始和结束,我只需要从字符串中删除第一个字符($)和最后一个字符($)。
Example: Cell 1: 示例:单元格1:
$$hello world$$. World is beautiful. $$where there is will there is a way.$$ money makes many things.
Should represent: 应代表:
$hello world$. World is beautiful. $where there is will there is a way. $money makes many things$.
Thanks All 谢谢大家
您可以使用SUBSTITUTE()公式
=SUBSTITUTE(A1,"$$","$")
作为非公式化的替代方法,是突出显示要修改的单元格并执行查找和替换(crtl + f),在其中查找内容:$$并替换为:$ ...根据您所用的字符串数而定尝试编辑此文件可能会更大,更容易...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.