Hello sandeepda,
"I want to write a subroutine which will check whether port exists and if exists returns me true..."
I think your question has really been answered in this thread How to check whether my array contains element x started by you..Please check.
Except you have something else in mind..
In reply to Re^5: Need help in parsing an input
by 2teez
in thread Need help in parsing an input
by sandeepda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |