![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ignore case in a test? | Bandit390 | High Level Programming | 1 | 11-14-2008 05:31 PM |
| How do I ignore one character in a case statement? PLEASE HELP! | cpunisher | Shell Programming and Scripting | 2 | 08-01-2008 08:01 PM |
| Ignore case sensitive in Case Switch | annelisa | Shell Programming and Scripting | 1 | 07-13-2006 05:36 AM |
| Ignore Case in Shell | AAH | Shell Programming and Scripting | 3 | 03-21-2006 04:41 PM |
| Removing duplicate lines ignore case | hellsd | UNIX for Dummies Questions & Answers | 17 | 12-02-2004 10:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Quote:
Code:
my $str = 'Mary had a little Lamb';
my $search = 'LAMB';
if (index lc($str),lc($search) > -1) {
print "Found [$search] in [$str]\n";
}
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|