08-13-2018
Congratulations DON for great achievement of 4000 THANKS, you are truly an inspiration for all of us, keep up the GREAT work.
Thanks,
R. Singh
Last edited by RavinderSingh13; 08-13-2018 at 03:23 PM..
These 2 Users Gave Thanks to RavinderSingh13 For This Post:
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am using a Quantum DLT 4000 tape drive on a PowerMac G4 with OS 10.1.5
I'd like to use the Terminal application, which is based on BSD 4.4, to see the tape drive and write backup tapes to it.
First, is there a way to list all the devices attached to the computer? And secondly, is there a way... (0 Replies)
Discussion started by: derekc132002
0 Replies
2. UNIX for Advanced & Expert Users
Good day,
I do have a HP-UX B.11.31 U ia64 machine.
If I check top a proces called sfmdb is high in use en cpu. It is a postgres-command.
Full name is System Fault Management. Google gives an option to restart it in: /sbin/init.d via sfmdb stop en start.
But if I now look on the machine I... (2 Replies)
Discussion started by: velde_van_der_a
2 Replies
3. Shell Programming and Scripting
Hi everybody!
I have a large comma separated text file. This file incluede some column which largest than 4000 character(this is not the last column). I tried with sed but i can't do it.
I would like to split to 4000 char this column.
Thank You for your help!
for example: (5 Replies)
Discussion started by: snayper
5 Replies
4. Programming
In my objective-c code base I have several NSLog statements.
eg.
NSLog(@"Here is the message without arguments");
NSLog(@"Here is the message with arguments: %s, %s","argument1","argument2");
Now I want to do two things:
First to do: updating NSLog statements with... (0 Replies)
Discussion started by: Miraaj
0 Replies
5. 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
6. What is on Your Mind?
Congratulations.
Nice one RudiC. That is some going, well done!
Bazza. (8 Replies)
Discussion started by: wisecracker
8 Replies
7. 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
8. What is on Your Mind?
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 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)