The substr() method is similar to substring() and slice(), but the difference is that the second parameter in substr() specifies length of the extracted part. OUTPUT : Extracted string by substr():


The DELETE statement is used to delete records in a table. The SQL DELETE Statement The DELETE statement is used to delete rows in a table. SQL DELETE Syntax Notice the WHERE clause in the SQL DELETE statement! The WHERE clause specifies which record or records that should be deleted. If you omit the WHERE…


The following map types are supported in Google Maps API: ROADMAP (normal, default 2D map) SATELLITE (photographic map) HYBRID (photographic map + roads and city names) TERRAIN (map with mountains, rivers, etc.) The map type is specified either within the Map properties object, with the mapTypeId property: Or by calling the map’s setMapTypeId() method:  


In javaScript We have 3 methods for extracting a part of a string- slice(start, end) substring(start, end) substr(start, length) OUTPUT : The slice() method extract a part of a string and returns the extracted parts in a new string: