By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,834 Members | 2,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,834 IT Pros & Developers. It's quick & easy.

to print position of string

P: 11
Hai all,

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

for example:


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

thanx in advance
Jun 18 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 1,275
You can use index function to do this.
Check this link for more info
Jun 18 '08 #2

Expert 2.5K+
P: 4,059
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.