Re: Substring accounting for attribute codes
By: Nightfox to All on Fri Oct 06 2023 05:49 pm
I'm curious if there's a JavaScript function available that will get a substring of a string that accounts for Synchronet attribute codes in the string? Given an index and length, I'm thinking the function would
I think I've written one that works as expected. I'd written one a while ago, but yesterday I found a case where it wasn't working (longer strings seemed to make it fail, for some reason). I think I've fixed it.
Nightfox
---
■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com