I am looking for a way to break a string into a string and an int within a JS file. For example, if I had the string "foo2" and wanted to break it into the string "foo" and the int 2.
You would probably be best using regular expressions, there’s lots of examples of out there for you to look through.
Alright, many thanks to both of you!
Log in to reply
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.