Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 131-140 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
199JavaScriptStringsString auf Wunschlänge zuschneidenmyString = "abc"; mySubString = myString.substring(0,2); // abView Update Delete
238PHPStringsString auf Wunschlänge zuschneiden// http://php.net/manual/de/function.substr.php $myString = "Benzinverbrauch"; echo substr($myString,2,8); //Ausgabe: "nzinverb"View Update Delete
89C#KontrollstrukturenSwitch / Case Anweisung int i = 1; switch (i) { case 1: Console.WriteLine("Fall 1"); break; case 2: Console.WriteLine("Fall 2"); break; default: Console.WriteLine("Standard Fall"); break; }View Update Delete
118T-SQLKontrollstrukturenSwitch / Case Anweisung -- http://msdn.microsoft.com/de-de/library/ms181765.aspx USE AdventureWorks2008R2; GO SELECT ProductNumber, Category = CASE ProductLine WHEN 'R' THEN 'Road' WHEN 'M' THEN 'Mountain' WHEN 'T' THEN 'Touring' WHEN 'S' THEN 'Other sale items' ELSE 'Not for sale' END, Name FROM Production.Product ORDER BY ProductNumber; GOView Update Delete
90C#SonstigesMultithreading in einer Anwendungpublic MainWindow() { var newThread = new System.Threading.Thread(doMethode); newThread.Start("Hallo Welt!"); } private void doMethode(object message) { Console.WriteLine(message); }View Update Delete
256PowerShellTextdateienTextDatei auslesen$myFilename = "file.txt" $fileContent = (Get-Content $myFilename)View Update Delete
91C#TextdateienTextDatei auslesenvar streamReader = new StreamReader("datei.txt"); string fileContent = streamReader.ReadToEnd(); streamReader.Close();View Update Delete
159PythonTextdateienTextDatei auslesenmyFilename = "file.txt" fileObj = open(myFilename , "r" ) array = [] for line in fileObj: array.append( line ) fileObj.close()View Update Delete
92C#TextdateienTextDatei schreibenstring fileContent = "Hallo Welt!"; var streamWriter = new StreamWriter("datei.txt"); streamWriter.Write(fileContent); streamWriter.Close();View Update Delete
93C#SonstigesSolidColorBrush von String KonventiereninputBox.BorderBrush = new BrushConverter().ConvertFromString("#FF7F9DB9") as SolidColorBrush;View Update Delete