Anzahl an Zeichen in einem String ermitteln

ID145
Link ReferenceNot set
Link CreditsNot set
Link Technical DocumentationNot set
PlCodelangJavaScript
PlGroupStrings
PlItemTitleAnzahl an Zeichen in einem String ermitteln
CodemyString = "This is a string, containing some words. Try it, if you don't believe ;-)";

// Get the count of commas in the string:
cntCommas = myString.split(",").length-1;
// => 2
Result Example