468,321 Members | 1,654 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

to print position of string

Hai all,

this is vignesh from coimbatore...i m vry new to perl... i need help to find position of string...


for example:

MLNKILOPYRWSDAGBCML

this is my string ..how can i find the position of "L" from above string .....


thanx in advance
Jun 18 '08 #1
2 1334
gpraghuram
1,275 Expert 1GB
Hi,
You can use index function to do this.
Check this link for more info
Raghuram
Jun 18 '08 #2
KevinADC
4,059 Expert 2GB
yes, use the index() function.
Jun 18 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Ricardo Bugalho | last post: by
9 posts views Thread by François Pinard | last post: by
2 posts views Thread by ooooscar | last post: by
8 posts views Thread by Al Jones | last post: by
8 posts views Thread by =?gb2312?B?yMvR1MLkyNXKx8zs0cSjrM37vKvM7NHEsru8+7z | last post: by
7 posts views Thread by =?gb2312?B?yMvR1MLkyNXKx8zs0cSjrM37vKvM7NHEsru8+7z | last post: by
2 posts views Thread by =?Utf-8?B?ZnJlZGR5?= | last post: by
1 post views Thread by Sin Jeong-hun | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.