Question : replace underscore with space
Answered by : you
string_with_underscore = "hello_world"
string_with_space = string_with_underscore.replace("_", " ")
print(string_with_space)
Source : | Last Update : Tue, 19 Sep 23
Question : excel replace space with underscore
Answered by : dom-spiotta
Press "Ctrl + H" or "Cmd + H" and it will bring up Find and Replace menu.
Just type a space in the find box and type an underscore in the replace box.
Source : | Last Update : Thu, 30 Jun 22