📜  从文本字符串中提取第 n 个单词 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:55.082000             🧑  作者: Mango

代码示例1
Excel formular
=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))), (N-1)*LEN(A1)+1, LEN(A1)))
'Replace A1 with the target columns
'Replace N with the word position