Note: This code column was written for a completely different use case, so it’s probably overkill for what you want to do. But it will still get the job done.
Am using the same method in javascript somehow like the below
let myString = p1;
let mySubString = p2;
let count = myString.split(mySubString).length - 1;
return count;
```/
what do you think should I use the yes column better or the JS ?
Would you mind sharing the JavaScript snippet that caused this behaviour?
As a general rule, I try to use my own JavaScript (both the plugin and the external code column) sparingly. I’ll usually only write my own code if I can’t find any other way to do it with standard computed columns, or if it will save me a bunch of columns. Also, my JavaScript skills are intermediate at best, so I’d rather place my trust in code written by Glide Engineers than my own