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 221-230 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
223SQLiteStringsStrings miteinander verbindenSELECT field_a ,field_b ,field_a || field_b as together FROM table_1View Update Delete
224PHPStringsReplace// http://php.net/manual/de/function.str-replace.php $str1 = "abc#def"; $str1 = str_replace("#",";",$str1); echo $str1; # Output: abc;defView Update Delete
225PHPSysteminfoHostnamen ermittelnecho gethostname(); // prints myComputer1 or srvLinux1View Update Delete
226T-SQLSysteminfoHostnamen ermittelnSELECT HOST_NAME() AS Hostname; -- prints myComputer1 or srvWindows1View Update Delete
227PowerShellSysteminfoHostnamen ermitteln$myHostname = [system.environment]::MachineName; write-host $myHostname; # prints MyComputer1 or srvWindows2View Update Delete
228PowerShellStringsReplace$str1 = "abc#def"; $str1 = $str1.Replace("#",";"); write-host $str1; # Output: abc;defView Update Delete
229PowerShellStringsString nach einem Teilstring durchsuchen# See also a good hint with explanation between like and contains: # http://windowsitpro.com/blog/powershell-contains $fullstring = "This is my string"; if ($fullstring -like "*my*") { Write-Host "found" -ForegroundColor Green; } else { Write-Host "nope" -ForegroundColor Red; }View Update Delete
230MySQLDatum, ZeitJahr aus Datum extrahierenSELECT extract(year from now()) AS Year; SELECT extract(year from '2014-01-01') AS Year; -- 2014View Update Delete
231MySQLDatum, ZeitMonat aus Datum extrahierenSELECT extract(month from now()) AS Month; SELECT extract(month from '2014-07-01') AS Month; -- 7View Update Delete
232MySQLDatum, ZeitDatum/Uhrzeit zusammensetzenSELECT MAKETIME(19,53,20) AS TIME; -- 19:53:20 SELECT MAKEDATE(2014,120) AS DATE; -- ^^^ -- Day of Year -- 2014-04-30View Update Delete