01-16-2019
Here are the mobile views of the same thing:
These 2 Users Gave Thanks to Neo For This Post:
6 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi
I obviously shouldn't have registered with this website for help, please can you remove my registration and last post. It has now been sorted elsewhere.
Thanks (0 Replies)
Discussion started by: skylark167
0 Replies
2. Post Here to Contact Site Administrators and Moderators
How do I delete my registration please? (1 Reply)
Discussion started by: amaitland
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
i can not register, please help me (1 Reply)
Discussion started by: friender@mail
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
When I'm trying to register it says that my e-mail adress )is banned by administrator. Why?
Thanks
PS The same problem occurs with other 2 adresses I have (1 Reply)
Discussion started by: Mihail
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
Hi, i got several questions regarding Solaris 10 configuration which i would like to ask here. Unfortunately Russia is blacklisted so I cannot register the normal way.
My IP is: 5.19.nnn.nnn
email: <removed>
Thank you. (5 Replies)
Discussion started by: nongrato
5 Replies
6. Shell Programming and Scripting
friends
I have the following code that works perfect
while read linea
do
largo=${#linea}
echo "largo es///////////: $largo "
if
then
echo "Longitud De Registro Invalida"
echo " $linea > ERROR DE LONGITUD" >> ... (2 Replies)
Discussion started by: tricampeon81
2 Replies
LEARN ABOUT PHP
natcasesort
NATCASESORT(3) 1 NATCASESORT(3)
natcasesort - Sort an array using a case insensitive "natural order" algorithm
SYNOPSIS
bool natcasesort (array &$array)
DESCRIPTION
natcasesort(3) is a case insensitive version of natsort(3).
This function implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value
associations. This is described as a "natural ordering".
PARAMETERS
o $array
- The input array.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
natcasesort(3) example
<?php
$array1 = $array2 = array('IMG0.png', 'img12.png', 'img10.png', 'img2.png', 'img1.png', 'IMG3.png');
sort($array1);
echo "Standard sorting
";
print_r($array1);
natcasesort($array2);
echo "
Natural order sorting (case-insensitive)
";
print_r($array2);
?>
The above example will output:
Standard sorting
Array
(
[0] => IMG0.png
[1] => IMG3.png
[2] => img1.png
[3] => img10.png
[4] => img12.png
[5] => img2.png
)
Natural order sorting (case-insensitive)
Array
(
[0] => IMG0.png
[4] => img1.png
[3] => img2.png
[5] => IMG3.png
[2] => img10.png
[1] => img12.png
)
For more information see: Martin Pool's Natural Order String Comparison page.
SEE ALSO
natsort(3), The comparison of array sorting functions, strnatcmp(3), strnatcasecmp(3).
PHP Documentation Group NATCASESORT(3)