AppDividend
Latest Code Tutorials

SQL SYSDATETIME Function Example

SQL SYSDATETIME function is a SQL Date Function, which is used to return the Current Date and Time of the system, i.e. DATETIME2, on which the SQL Server instance is running. The SYSDATETIME() function has more fractional seconds precision…

Java String isEmpty() Function Example

A situation that arises while solving many algorithmic problems or while development is determining when a String is empty, i.e., has size 0. To determine this, the String class (Java.lang.String), since the issue of JDK 1.6, has an…

Java String startsWith() Function Example

At times it is required to check whether a particular string starts with a given prefix or not. Java takes care of this through its java.lang.String.startsWith() method. The startsWith() method can either start checking from the first index…

Java String split() Function Example

The java.lang.String.split() method, introduced in JDK 1.4, splits a String wherever it encounters a given regex and returns the split up parts in the form of an array. The string split() method breaks a given string around matches of the…

Java String join() Method Example

The java.lang.String.join() method, introduced in JDK 1.8, is used to join character sequences with a specific delimiter. The delimiter is added between each different character sequence to combine all the character sequences into a single…

Java String intern() Method Example

The java.lang.String.intern() method is a native method of the Java String class. This means that this method is implemented in native coding using the Java Native Interface(JNI). The JNI specification governs the rules and guidelines for…

Python oct() Function Example

If you want to convert an integer to octal number, then the Python oct() method is convenient. Python oct() method returns an octal representation of a given number. The oct() method takes the integer number and returns its octal…