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 41-50 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
144JavaScriptStringsString nach Delimenter zerlegenmyTestString = "abc;def;ghj/1"; splittedString = myTestString.split(";"); elementTwo = splittedString[1]; // => defView Update Delete
145JavaScriptStringsAnzahl an Zeichen in einem String ermittelnmyString = "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; // => 2View Update Delete
199JavaScriptStringsString auf Wunschlänge zuschneidenmyString = "abc"; mySubString = myString.substring(0,2); // abView Update Delete
200JavaScriptDatum, ZeitAktuelles Datum/Uhrzeitdate = new Date(); // Sat Jun 14 2014 13:15:27 GMT+0200 (CEST) dateStringISO = date.toISOString(); // "2014-06-14T11:15:27.097Z" // Attention: Time is different because of the timezone date.toISOString().substring(0,10); //"2014-06-14" dateStringISO.split("T")[1]; // 11:15:27.097ZView Update Delete
260SQLiteDatenbankTemporäre DB-TabelleCREATE TEMPORARY TABLE myTempTable1 ( id INT ,myText TEXT )View Update Delete
263SQLiteDatenbankCTASCREATE TABLE newDestinationTable AS SELECT * FROM oldSourceTableView Update Delete
264SQLiteDatenbankEine Menge B reduziert um Menge A-- Es soll die Menge an Datensätze ausgegeben reduziert um eine andere Menge (Rest) -- Die einzelnen Tabellen oder Subqueries müssen die gleichen Spalten im Statement haben SELECT FieldA ,FieldB ,FieldC FROM myTable1 EXCEPT SELECT FieldA ,FieldB ,FieldC FROM myTable2View Update Delete
291SQLiteStringsFührende Nullen vor einer ZahlWITH cte_example AS ( SELECT 5 AS int_example UNION ALL SELECT 10 AS int_example UNION ALL SELECT 50 AS int_example ) SELECT int_example, substr('0000000'||ROW_NUMBER() OVER(ORDER BY int_example)||'00', -8, 8) AS example_result FROM cte_example ;View Update Delete
141SQLiteDatenbankFremdschlüsselprüfung aktivieren-- http://www.sqlite.org/foreignkeys.html PRAGMA foreign_keys = ON; -- !! this is only valid for the current session. -- If you want to use this permanent, you have to use this statement every time you start a new sessionView Update Delete
168SQLiteDatum, ZeitErster und letzter Tag des Monats ermittelnselect date('now','start of month'); --first day of current month select date('now','start of month', '+1 months','-1 day'); --last day of current monthView Update Delete