Adventures in broadcaster: attachToComponentMouseEvents
-
@Natan said in Adventures in broadcaster: attachToComponentMouseEvents:
@Lindon Thanks, man, Just need to Remove the
{PROJECT_FOLDER}
as well!if(value.indexOf("{PROJECT_FOLDER}") != -1) // This does not Work !!! { return value.replace("{PROJECT_FOLDER}", ""); } reg tempValue; if(value.indexOf("{PROJECT_FOLDER}") != -1) { tempValue = value.replace(".wav", ""); Console.print(tempValue); //<-- now think what you might do to this? return tempValue; }
nearly...
if(value.indexOf("{PROJECT_FOLDER}") != -1) { tempValue = value.replace(".wav", ""); tempValue = tempValue.replace("{PROJECT_FOLDER}",""); return tempValue; }
There is a better way tho...go read up about substring
-
@Lindon said in Adventures in broadcaster: attachToComponentMouseEvents:
reg tempValue;
Brilliant, Thanks a Lot mate, You're the BEST <3
Cheers -
@Natan read up about substring...