Anzahl an Zeichen in einem String ermitteln
| ID | 145 |
|---|---|
| Link Reference | Not set |
| Link Credits | Not set |
| Link Technical Documentation | Not set |
| PlCodelang | JavaScript |
| PlGroup | Strings |
| PlItemTitle | Anzahl an Zeichen in einem String ermitteln |
| Code | myString = "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 |