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 31-40 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
32JavaStringsString nach Delimenter zerlegenString myString = new String; String[] myPieces = new String; myString = "A;B;C;D;E"; myPieces = myString.split(";"); // erzeugt ein Arrey mit den einzelnen Zeichen System.out.println(myPieces[2]); // gibt C ausView Update Delete
33MumpsStringsString nach Delimenter zerlegenmyString="A;B;C;D;E" Write !,$Piece(myString,";",3) // gibt C ausView Update Delete
34CachéCaché-Spezifisch, Prozesse/JobsVariableninhalt eines fremden Prozesses ermitteln; Important: You musn't check variables in your own job, it will result in a <PARAMETER>-Error! Set checkjob=1234 Set checkvar="foo" ; Check if job is not my own Quit:checkjob=$Job ; Check if Job exists und prompt the content of the varible foo If $Data(^$Job(checkjob)) W !,$ZUtil(88,2,checkjob,checkvar) ; Prompts the content of the variable foo, maybe it is 'bar' ;-)View Update Delete
35JavaGUI, Komponenten allgemeinFocus setzenjTextfield1.requestFocus();View Update Delete
36JavaGUI, Komponenten allgemeinPanel Größe ändernimport java.awt.Dimension; import javax.swing.JPanel; Dimension dim = new Dimension(); dim.height=300; dim.width=500; JPanel pan = new JPanel(); pan.setPreferredSize(dim); View Update Delete
37JavaGUI, Komponenten allgemeinL&F setzen/ändernimport javax.swing.UIManager; // Set the L&F to the standard OS-Theme UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); // there are other possibilites and L&F-Sets... Just google ;-) // For example look at L2FProd or Substance...View Update Delete
38PHPArrayÜber alle Array-Elemente interieren$arr = array(1, 2, 3, 4); foreach ($arr as &$value) { $value = $value * 2; } // $arr is now array(2, 4, 6, 8) foreach ($arr as $key => $value) { echo "{$key} => {$value} "; }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