From 06904e2f3c12d4936c311768d6eb1c780802c345 Mon Sep 17 00:00:00 2001 From: Philippe Torrel Date: Tue, 15 Sep 2026 14:12:08 +0200 Subject: [PATCH] --- .../unterricht/tag07/13_str-includes.html | 30 ++++++++- .../tag07/14_str-starts-with-ends-with.html | 55 ++++++++++++++++ .../tag07/15_pad-start-pad-end.html | 62 +++++++++++++++++++ .../unterricht/tag07/16_str-repeat.html | 34 ++++++++++ .../tag07/17_funktionsdefinition.html | 0 5 files changed, 179 insertions(+), 2 deletions(-) create mode 100644 01_grundlagen/unterricht/tag07/14_str-starts-with-ends-with.html create mode 100644 01_grundlagen/unterricht/tag07/15_pad-start-pad-end.html create mode 100644 01_grundlagen/unterricht/tag07/16_str-repeat.html create mode 100644 01_grundlagen/unterricht/tag07/17_funktionsdefinition.html diff --git a/01_grundlagen/unterricht/tag07/13_str-includes.html b/01_grundlagen/unterricht/tag07/13_str-includes.html index 3eebe72..07cda2f 100644 --- a/01_grundlagen/unterricht/tag07/13_str-includes.html +++ b/01_grundlagen/unterricht/tag07/13_str-includes.html @@ -23,8 +23,8 @@ diff --git a/01_grundlagen/unterricht/tag07/14_str-starts-with-ends-with.html b/01_grundlagen/unterricht/tag07/14_str-starts-with-ends-with.html new file mode 100644 index 0000000..99fdb8b --- /dev/null +++ b/01_grundlagen/unterricht/tag07/14_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/15_pad-start-pad-end.html b/01_grundlagen/unterricht/tag07/15_pad-start-pad-end.html new file mode 100644 index 0000000..205605c --- /dev/null +++ b/01_grundlagen/unterricht/tag07/15_pad-start-pad-end.html @@ -0,0 +1,62 @@ + + + + + + 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/16_str-repeat.html b/01_grundlagen/unterricht/tag07/16_str-repeat.html new file mode 100644 index 0000000..eee4734 --- /dev/null +++ b/01_grundlagen/unterricht/tag07/16_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/17_funktionsdefinition.html b/01_grundlagen/unterricht/tag07/17_funktionsdefinition.html new file mode 100644 index 0000000..e69de29