get the string till dot php code example
Example 1: javascript get last character in string
var hello = "Hello World";
var lastCharOfHello=hello.slice(-1);//d
Example 2: remove first 3 characters from string javascript
var string = "abcd";
console.log(string.substring(3)); //"d"
Example 3: how to print any string in double quotes in php
$web = "...if (url.contains(\".mp4\"))..."