How to split a word or sentence delimited with slashes, commas or hyphens
How to split a word or sentence delimited with slashes,commas, dots, or hyphens < ?php // Delimiters may be slash, comma, or hyphen $data = "Welcome to, the world of…
How to split a word or sentence delimited with slashes,commas, dots, or hyphens < ?php // Delimiters may be slash, comma, or hyphen $data = "Welcome to, the world of…
The absolute path for a file or directory is not the same as the URI. The absolute path on the web server is /home/DIR/Xs/something/mydir/. Here is how to find the…
Close Event In JavascriptFor some versions of Firefox, IE (Internet Explorer) and Chrome browser here is the event that gets triggered when ever we close the browser window. This script…
Create a small shell script, testVar2.sh: testVar2.sh #!/bin/sh echo "testVar is: $testVar" testVar="my shell script" echo "testVar is: $testVar" Now run the script: $ ./testVar2.sh testVar is: testVar is: my…