![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| comparing 2 strings | satish@123 | Shell Programming and Scripting | 2 | 05-16-2008 04:59 AM |
| comparing strings | agarwal | Shell Programming and Scripting | 3 | 04-16-2008 02:29 AM |
| Comparing Two Strings | Anji | Shell Programming and Scripting | 8 | 01-09-2008 03:32 AM |
| Comparing strings | yakyaj | UNIX for Advanced & Expert Users | 2 | 03-22-2007 10:22 PM |
| comparing two strings | ragha81 | Shell Programming and Scripting | 24 | 09-21-2006 08:52 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Urgent:Comparing two Strings using If Loop
Hi All,
Please help me out in this... I am new to scripting How to compare two strings by using the same string in single loop, I am using ksh for ex:see the code snippet below I am writing in java, Can u guys tell me that in scripting if ("string1"=="string2" || "string1"=="string3") { //statements---- } else if("string2"="string3") { //statements } Thanks in advance. Anji |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
in java (copied from the net, handy
Quote:
Quote:
|
|
#3
|
|||
|
|||
|
Thanks buddy
I already solved that problem by own Anyway Thanks alot for ur reply |
|||
| Google The UNIX and Linux Forums |