Biks 9 Posted May 24, 2019 Report Share Posted May 24, 2019 This should be simple, but I've never done it before. Let's say I scraped a 300 character long block of text and it's sitting in a variable. I want to shorten it to the first 200 characters. (I know how to FIND the first 200 characters, but I want to delete everything outside of my find) Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted May 31, 2019 Report Share Posted May 31, 2019 Sorry tried to reply a few days ago but could not post. alert($substring("This is some text.",0,12)) under text functions Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.