What I’m trying to do
I’d like to replace text in tasks and tables that is repeated. I use this naming convention for some ordered notes that I want in a specific order in the folder. I then use Folder Notes for MOCs and then use Dataview to construct those. But when I make a table/list I don’t need that structured bit of the file name.
Yes, I am aware of properties and no they are not a suitable replacement, please don’t suggest using those instead.
Dataview seems to have a function for replacing strings, but I cannot for the life of me figure out where it should actually go.
Things I have tried
So I have a
``` dataview
TABLE WITHOUT ID file.link AS Notes, date AS "Date"
FROM #Notes
WHERE contains(file.folder, this.file.folder)
SORT file.name ASC
And I want to replace the string SD2.0 with nothing. This appears like it should do that:
replace("SD2.0","")
But I cannot figure out where to put it. I don’t know if I’ve constructed it wrong or what.
Secondly, I need this replacement to only occur after the sorting to ensure the order is maintained. Which would be more of a concern if I could make it work at all!