Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Helen79

    i have ammended the code as follows

    I've it fixed now people there was a fullstop being inserted in another part of the code. Thanks Paul and hollywood. Helen
  2. Helen79

    i have ammended the code as follows

    i have ammended the code as follows but am still getting to fullstops at the end i.e. R.J.. sub shorten_initial() { @names = (split /\,/, $_[0]); $init = ""; foreach $name (@names){ $init = $init . substr($name,0,1) . ".";} $init=~s/\.\./\./g; return $init; } Any ideas...
  3. Helen79

    Subroutine prob

    Thanks again once more i have now solved it - i was referencing the wrongs hash and not using eq rather than ==. Again thanks
  4. Helen79

    String operations

    Hello I am trying to perform an operation on a string variable such as John,Leslie,Smith and get J.L.S. i.e. just the initials out. This is driving me round the bend any help would be appreciated. Many thanks Helen

Part and Inventory Search

Back
Top