I am trying something that seems pretty simple, but i’m stuck.
What I am trying to do is take a string that says “play: watch preview” and make it say only “watch preview”
if (showButton02.indexOf ("play:") !=1){
showButton02.replace("play:", "");
trace("HERE IS THE STRING WITHOUT PLAY!"+showButton02);
Any help would be appreciated!