var someString:String = "_file"; trace(someString.substr(1)); /* ouptuts: file */
Turns out the second argument of substr() is optional….. not sure how I never noticed that before.
var someString:String = "_file"; trace(someString.substr(1)); /* ouptuts: file */
Turns out the second argument of substr() is optional….. not sure how I never noticed that before.