<?
//This is a small script I have created for testing, hope it will help for you.
//if you give the start & end text it will give you in between text as out put
//So output is "hope it will help for you."
function SafGetInBetweenText($start,$end,$text){
list($Waste,$GoodText) = explode("$start",$text);
list($GoodText,$Waste) = explode("$end",$GoodText);
return $GoodText;
}
$text = "This is a small script I have created for testing, hope it will help for you. if you give the start & end text it will give you in between text as output";
$start = "testing,";
$end = "if you";
print SafGetInBetweenText($start,$end,$text);
?>
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2013
(219)
-
▼
February
(22)
- For removing content of a directory - subdirectory...
- print_r() in php
- File Upload if File Exists Append Number to File N...
- PHP Operator Types
- VBA writing in a text file
- PHP installation
- delete cookies in php
- Installing CPAN modules in perl in linux.
- PHP File Inclusion
- Subhajit Das | PHP Developer | PHP Programmer
- Assignment #2 Modified.
- Writing oracle procedure.
- Simple Ajax Example
- insert data into table in php with mysql
- rand() in php
- Send Email Using SafSendMailV2
- Free php pdf tutorial
- Get in between text using SafGetInBetweenText
- ckeck ip address is in blocked list or not in php
- codeigniter routing issue fixation - url rewriting...
- Best Free PHP IDE
- Array to Single Variable
-
▼
February
(22)