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 231-240 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
166PythonFilehandlingDatei auf dem Betriebssystem ausführenimport commands output=commands.getoutput("dir") print output # home tmp myFile.shView Update Delete
43Bash ScriptSonstigesKopfzeile sh-Datei#!/bin/sh # Einfaches Beispiel ... View Update Delete
42PHPHTTP Form SubmitPOST Werte abfragenif ($_POST["submitName"]=="submitValue") { echo "Button submitValue gedrückt"; }View Update Delete
39PHPStringsString nach einem Teilstring durchsuchen// is case sensitiv // use stristr for case insensitive $email = 'name@example.com'; $domain = strstr($email, '@'); echo $domain; // Ausgabe: @example.com $user = strstr($email, '@', true); // Ab PHP 5.3.0 echo $user; // Ausgabe: name View Update Delete
40MumpsStringsString nach einem Teilstring durchsuchenSet fullstring="This is my string" Set searchfor="my" If $Find(fullstring, searchfor) Do . Write !,"I found it!!" . QuitView Update Delete
41JavaStringsString nach einem Teilstring durchsuchenString fullstring = new String("This is my string"); if (fullstring.contains("my")) { // I found it!! } View Update Delete
116DelphiStringsString nach einem Teilstring durchsuchensearchFor:='this'; text:='this is a simple text'; if pos(searchFor,text)>0 then begin ShowMessage('found'); end;View Update Delete
133VB.NETStringsString nach einem Teilstring durchsuchenDim longStr = "This is a long string" Dim searchFor = "long" position = InStr( longStr, searchFor )View Update Delete
138T-SQLDatenbankString nach einem Teilstring durchsuchen-- Find characters which are also special characters for search terms, e.g. % or _ -- see also: http://msdn.microsoft.com/en-us/library/ms179859%28v=sql.105%29.aspx SELECT * FROM table_1 WHERE column_1 LIKE '%!_%' ESCAPE '!' -- Find results which includes the character "_". The escape character is defined as "!"View Update Delete
161PythonStringsString nach einem Teilstring durchsuchen# http://www.tutorialspoint.com/python/string_find.htm # this function is case sensitive fullstring = "This is my string" searchFor = "my" startPosition = fullstring.find(searchFor, 0, len(fullstring)) # startPosition will have 8 if startPosition>=0: print "I found it!" startPosition = fullstring.upper().find(searchFor.upper()) # case insensitiveView Update Delete