我需要在句子的最后一个单词之前添加一个单词。
例子 :
t1 = "Top Senior Players" OR t1 = "Top Athlete" OR t1 = "Youngest Athlete"
t2 = "Hockey" OR t2 = "Cricket" etc.
我希望得到像这样的输出
var game = "Top Senior <t2> Players" OR t1 = "Top <t2> Athlete" OR t1 = "Youngest <t2> Athlete"
它应该在最后一个单词之前的单词处。