replace: No to-string for last from-string
See original GitHub issueThe following command returns “replace: No to-string for last from-string”
replace 'Person' 'API.IPerson' . -r --include="*.ts"
According to the docs this should work. Any ideas?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:5
Top Results From Across the Web
Replace the last part of a string - java - Stack Overflow
The following code should replace the last occurrence of a ',' with a ')' . StringBuilder b = new StringBuilder(yourString); ...
Read more >How to Remove the Last Character of a String? - Baeldung
The easiest way is to use the built-in substring() method of the String class. In order to remove the last character of a...
Read more >String.prototype.replace() - JavaScript - MDN Web Docs
The replace() method returns a new string with one, some, or all matches of a pattern replaced by a replacement .
Read more >How to Remove Special Characters from String in Java
Special characters are not readable, so it would be good to remove them before reading. Java replaceAll() method. Java replaceAll() method of String...
Read more >String (Java Platform SE 8 ) - Oracle Help Center
public final class String extends Object implements Serializable, ... String conversions are implemented through the method toString , defined by Object and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi everyone - I was able to get it working by running
replace 'word1' 'word2' -- 'filename'
. Was getting the same error if I didn’t have a space between the--
andfilename
. Hope that helps.Nice it’s work for me.