If you try and substitute "is" for "was" in the string "This is silly" usingyou won't get "This was silly", you'll get "Thwas was silly".Code Perl:s/is/was/ig
how would i correct this so it only subs is on its own with was.
so then the substituted value is "This was silly"?





Bookmarks