I remember learning that there is a simple way to insert string segments into other strings quite easily in Python, but I don't remember how it's done. For example, let's say I'm editing HTML with Python and it looks something like this:
<html>
<b>Hello, World!</b>
<b>%</b>
</html>
So, let's say this HTML code is stored in a variable called html. Now, let's say that I want to manipulate this code and enter the following string "My name is Bob" instead of the % in the second b tag.
If anybody knows what I am talking about, please answer, it is a really cool feature that I would like to use. Thank you!