diff --git a/01_grundlagen/unterricht/tag07/01_str-trim.html b/01_grundlagen/unterricht/tag07/01_str-trim.html new file mode 100644 index 0000000..7448dcc --- /dev/null +++ b/01_grundlagen/unterricht/tag07/01_str-trim.html @@ -0,0 +1,41 @@ + + + + + + String.trim() + + + +
+
+

+ + String.trim() + +

+

+ Die trim() Methode entfernt Leerzeichen an beiden Enden einer Zeichenfolge. Das betrifft + Leerzeichen verschiedenster Art (space, tab, no-break space, etc.) und alle Zeilenumbruch einleitende Zeichen + (LF, CR, etc.). +

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/02_str-char-at.html b/01_grundlagen/unterricht/tag07/02_str-char-at.html new file mode 100644 index 0000000..cbfadeb --- /dev/null +++ b/01_grundlagen/unterricht/tag07/02_str-char-at.html @@ -0,0 +1,47 @@ + + + + + + String.charAt() + + + +
+
+

+ + String.charAt() + +

+

Die charAt()-Methode gibt das Zeichen an einer bestimmten Stelle eines Strings wieder.

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/03_str-to-lower-upper.html b/01_grundlagen/unterricht/tag07/03_str-to-lower-upper.html new file mode 100644 index 0000000..7cb509f --- /dev/null +++ b/01_grundlagen/unterricht/tag07/03_str-to-lower-upper.html @@ -0,0 +1,43 @@ + + + + + + String.toLowerCase() | String.toUpperCase() + + + +
+
+

+ + String.toLowerCase() + + & + + String.toUpperCase() + +

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/04_str-replace-replace-all.html b/01_grundlagen/unterricht/tag07/04_str-replace-replace-all.html new file mode 100644 index 0000000..e9f8bf3 --- /dev/null +++ b/01_grundlagen/unterricht/tag07/04_str-replace-replace-all.html @@ -0,0 +1,58 @@ + + + + + + String.replace(searchValue, replaceValue) + + + +
+
+

+ + String.replace(searchValue, replaceValue) + +

+

+ Die replace()-Methode gibt eine neue Zeichenkette zurück, in der einige oder alle + Übereinstimmungen mit einem Muster durch einen Ersatz ausgetauscht wurden. Das + Muster kann eine Zeichenkette (string) oder eine RegExp sein, als Ersatz dienen + eine Zeichenkette oder eine Funktion, welche für jede Übereinstimmung aufgerufen wird. +

+
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/05_str-includes.html b/01_grundlagen/unterricht/tag07/05_str-includes.html new file mode 100644 index 0000000..ede9a30 --- /dev/null +++ b/01_grundlagen/unterricht/tag07/05_str-includes.html @@ -0,0 +1,63 @@ + + + + + + String.includes() + + + +
+
+

+ + String.includes() + +

+

+ Die includes()-Methode gibt an, ob ein String innerhalb eines anderen Strings gefunden wird + und gibt dabei true oder false wieder. +

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/06_str-starts-with-ends-with.html b/01_grundlagen/unterricht/tag07/06_str-starts-with-ends-with.html new file mode 100644 index 0000000..99fdb8b --- /dev/null +++ b/01_grundlagen/unterricht/tag07/06_str-starts-with-ends-with.html @@ -0,0 +1,55 @@ + + + + + + String.startsWith() & String.endsWith() + + + +
+
+

String.startsWith() & String.endsWith()

+

+ + String.startsWith() + +

+

+ Die startsWith()-Methode stellt fest, ob ein String mit den Zeichen eines anderen Strings + beginnt, falls dies so ist, wird true, sonst wird false zurückgegeben. +

+

+ + String.endsWith() + +

+

+ Die Methode endsWith() bestimmt, ob ein String das Ende eines anderen Strings ist, und + liefert entsprechend true oder false zurück. +

+
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/07_str-pad-start-pad-end.html b/01_grundlagen/unterricht/tag07/07_str-pad-start-pad-end.html new file mode 100644 index 0000000..7c19494 --- /dev/null +++ b/01_grundlagen/unterricht/tag07/07_str-pad-start-pad-end.html @@ -0,0 +1,52 @@ + + + + + + String.padStart() & String.padEnd() + + + +
+
+

String.padStart() & String.padEnd()

+

+ + String.padStart() + +

+

+ The padStart() method pads the current string with another string (multiple times, if needed) + until the resulting string reaches the given length. The padding is applied from the start of the current + string. +

+
+

+ + String.padEnd() + +

+

+ The padEnd() method pads the current string with a given string (repeated, if needed) so that + the resulting string reaches a given length. The padding is applied from the end of the current string. +

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/08_str-repeat.html b/01_grundlagen/unterricht/tag07/08_str-repeat.html new file mode 100644 index 0000000..eee4734 --- /dev/null +++ b/01_grundlagen/unterricht/tag07/08_str-repeat.html @@ -0,0 +1,34 @@ + + + + + + String.repeat() + + + +
+
+

+ + String.repeat() + +

+

+ The repeat() method constructs and returns a new string which contains the specified number + of copies of the string on which it was called, concatenated together. +

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag07/09_funktionsdefinition.html b/01_grundlagen/unterricht/tag07/09_funktionsdefinition.html new file mode 100644 index 0000000..eab726d --- /dev/null +++ b/01_grundlagen/unterricht/tag07/09_funktionsdefinition.html @@ -0,0 +1,55 @@ + + + + + + JS - Funktionsdefinition + + + +
+
+

JS - Funktionsdefinition

+
+
+ + +