mardi 30 juin 2015

Actionscript - sbustring

How does Actionscript handle the following substrings? For the substrings below, what are the correct outputs?

var main = "1234567890"
var output = sbustring(main, 5,1) // output = 
var output = sbustring(main, 1,5) // output = 
var output = sbustring(main, 0,5) // output = 
var output = sbustring(main, 5,0) // output = 

Aucun commentaire:

Enregistrer un commentaire