Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在VBA中从@get.com或@getting.com获取@之后仅3个字符串,例如我必须从提供的字符串@get.com或@getting.com实现@get
您可以使用该Instr()函数在字符串中定位 @。
Instr()
然后使用从该位置开始的n 个Mid()字符的子串
Mid()