Steinberg WaveLab Elements 7 Manuál Strana 88

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 428
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 87
74 WaveLab Concepts
//Create an empty array
var a = new Array();
//Add some items to it
a.push("first array item");
a.push("next array item", "last array item");
//Print them out in the Log window
logWindow.printInfo(a.toString());
//Call the Array's reverse function
a.reverse();
//View the results in the Log window
logWindow.printInfo(a.toString());
String Objects
Functions
toString()
valueOf()
charAt(pos)
charCodeAt(pos)
concat([string1 [, string2 [, ...]]])
indexOf(searchString ,position)
lastIndexOf(searchString, position)
localeCompare(that)
match(regexp)
replace(searchValue, replaceValue)
search(regexp)
slice(start, end)
split(separator, limit)
substring(start, end)
toLowerCase()
toLocaleLowerCase()
toUpperCase()
toLocaleUpperCase()
Example:
//Create a string variable
var str = new String("WaveLab is a powerful editing tool");
//Make it all upper case
var capsStr = str.toUpperCase();
//View the results in the Log window
logWindow.printInfo(capsStr);
WaveLab 7
Zobrazit stránku 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 427 428

Komentáře k této Příručce

Žádné komentáře