TypeScript – String localeCompare()
In this topic, we will discuss String localeCompare() in Typescript. This method returns a number indicating whether a reference string comes before or after or is the same as the…
In this topic, we will discuss String localeCompare() in Typescript. This method returns a number indicating whether a reference string comes before or after or is the same as the…
This method returns the index within the calling String object of the last occurrence of the specified value, starting the search at fromIndex or -1 if the value is not found. Syntax string.lastIndexOf(searchValue[, fromIndex])…
This method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex or -1 if the value is not found. Syntax string.indexOf(searchValue[, fromIndex])…
In this topic, we will discuss String concat() in Typescript. This method adds two or more strings and returns a new single string. Syntax string.concat(string2, string3[, ..., stringN]); Argument Details…
In this guide, we will explain how to use the MySQL PASSWORD function with syntax and examples. Description The MySQL PASSWORD function is used by the authentication system in MySQL to generate…
This method returns a number indicating the Unicode value of the character at the given index. Unicode code points range from 0 to 1,114,111. The first 128 Unicode code points…
In this guide, we will explain how to use the MySQL OLD_PASSWORD function with syntax and examples. Description The OLD_PASSWORD function is used by the authentication system to generate a hashed password…
charAt() is a method that returns the character from the specified index. Characters in a string are indexed from left to right. The index of the first character is 0,…
The prototype property allows you to add properties and methods to an object. Example function employee(id:number,name:string) { this.id = id this.name = name } var emp = new employee(123,"Smith") employee.prototype.email="smith@abc.com"…
In this guide, we will explain how to use the MySQL MD5 function with syntax and examples. Description The MySQL MD5 function returns an MD5 128-bit checksum representation of a string. Syntax…