How can I find the first non-repeating character in a string using Perl?

Posted by kivien on Stack Overflow See other posts from Stack Overflow or by kivien
Published on 2010-03-30T20:48:54Z Indexed on 2010/03/31 4:03 UTC
Read the original article Hit count: 273

Filed under:
|

Write a function that returns the first non-repeating character in a string. Example: “Thanks for visiting" returns "h".

© Stack Overflow or respective owner

Related posts about perl

Related posts about homework