Edit an html with some string lines

1 次查看(过去 30 天)
I have an email and I want to add these lines insides it's body html. How I could combine the old html body with these word text lines in one final html. My final purpose is to reply to the fisrt mail.
Thank you for your time

回答(1 个)

Matt Gaidica
Matt Gaidica 2021-2-15
If you just need to jam it in there:
HTMLtag = "</body>";
myText = "Please follow this link:</br><a href=...";
strrep(emailHTML, HTMLtag, myText + HTMLtag);

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by