Comment by cucumber3732842
6 hours ago
It kind of depends on the substring and problem context.
Arbitrary substring in arbitrary text vs extracting embedded plant code from product serial numbers.
As long as you've got a good explanation for what you chose and why you chose it and the pro/con it's probably fine.
No comments yet
Contribute on Hacker News ↗