12-16-2014
Gratulations and thank you Corona
6 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Surreal quote from the news link below:
http://www.washingtonpost.com/wp-dyn/articles/A44615-2002Nov12.html (0 Replies)
Discussion started by: Neo
0 Replies
2. What is on Your Mind?
On behalf of the forums, we are so happy to see such an amazingly rescue of the 33 miners. What a great and happy story of human endurance and team work to save miners trapped nearly 700 meters underground.
Bravo Chile !!
We salute you!!! (5 Replies)
Discussion started by: Neo
5 Replies
3. What is on Your Mind?
Hi all,
Please join me to congrats Neo for crossing 10,000 posts count.
I think he is the first to have this count with the longest journey (12 yrs) at unix.com. At least I didn't see any other member with the same or more figures.Mods, please correct me if wrong. Perderabo is likely to be the... (6 Replies)
Discussion started by: clx
6 Replies
4. What is on Your Mind?
Hello All,
Let's join our hands together to appreciate Corona688 for completing and reaching to the landmark of 4000+ THANKS. I do want to appreciate Corona688 on behalf of everyone here in forum for Corona688's continuous effort of posting very useful, full of experience and knowledge posts in... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies
5. What is on Your Mind?
Hello All forum members,
I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b:
@Rudi sir,
How are you sir?
you ROCK, please keep up the great work sir :b:
... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
6. What is on Your Mind?
Hello All,
I would like to take this opportunity to CONGRATULATE RudiC sir, (on behalf of all of us); please join your hands with me for congratulating RudiC sir for completing 4500 THANKS in forums. He is a GREAT ASSET in this forums and from years and years he is giving NICE, QUICK, Innovative... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
STRRIPOS(3) 1 STRRIPOS(3)
strripos - Find the position of the last occurrence of a case-insensitive substring in a string
SYNOPSIS
int strripos (string $haystack, string $needle, [int $offset])
DESCRIPTION
Find the numeric position of the last occurrence of $needle in the $haystack string.
Unlike the strrpos(3), strripos(3) is case-insensitive.
PARAMETERS
o $haystack
- The string to search in.
o $needle
- If $needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
o $offset
- If specified, search will start this number of characters counted from the beginning of the string. If the value is negative,
search will instead start from that many characters from the end of the string, searching backwards.
RETURN VALUES
Returns the position where the needle exists relative to the beginnning of the $haystack string (independent of search direction or off-
set). Also note that string positions start at 0, and not 1.
Returns FALSE if the needle was not found.
Warning
This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE. Please read the section on
Booleans for more information. Use the === operator for testing the return value of this function.
EXAMPLES
Example #1
A simple strripos(3) example
<?php
$haystack = 'ababcd';
$needle = 'aB';
$pos = strripos($haystack, $needle);
if ($pos === false) {
echo "Sorry, we did not find ($needle) in ($haystack)";
} else {
echo "Congratulations!
";
echo "We found the last ($needle) in ($haystack) at position ($pos)";
}
?>
The above example will output:
Congratulations!
We found the last (aB) in (ababcd) at position (2)
SEE ALSO
strpos(3), stripos(3), strrpos(3), strrchr(3), stristr(3), substr(3).
PHP Documentation Group STRRIPOS(3)