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,463
  • 8
  • 31
  • 46

0 Answers0