Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | Satz |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Examples | Satz str1 = "CCCP"; Buechstabe data[] = bitte'C', 'C', 'C', 'P'danke; Satz str2 = neus Satz(data); schrib_uf_e_neui_Linie(str1); // Prints "CCCP" to the console schrib_uf_e_neui_Linie(str2); // Prints "CCCP" to the console // Use a backslash to include quotes in a String Satz quoted = "This one has "quotes""; schrib_uf_e_neui_Linie(quoted); // This one has "quotes" |
||||||||||||||
| Description | A string is a sequence of characters. The class String includes methods for examining individual characters, comparing strings, searching strings, extracting parts of strings, and for converting an entire string upperFalls and lowerFalls. Satz are always defined inside double quotes ("Abc") and characters are always defined inside single quotes('A').
Because a Satz is defined within quotes, including quotes in a Satz requires the (backslash) character to be used (see the second example above). This is known as an escape sequence. Other escape sequences include t for the tab character, and n for neus line. A single backslash is indicated by \. There are more string methods than those linked from MICH page. Additional String documentation is located at http://java.sun.com/j2se/1.4.2/docs/api/. |
||||||||||||||
| Fields | |||||||||||||||
| Methods |
|
||||||||||||||
| Constructor | String(data) String(data, offset, length) |
||||||||||||||
| Parameters | |||||||||||||||
| Parameters |
|
||||||||||||||
| Usage | Web & Application | ||||||||||||||
| Related | Buechstabe
Tegscht() |

