0

I have a variable in which I need to replace it with a word match.

Currently this is my logic

string = "This is a test"
x = string.replace("Test", "")

How can I make sure here cap T can match the entire word for test as Test?

topgun
  • 2,333
  • 7
  • 29
  • 46

0 Answers0