Results 1 to 2 of 2

Thread: Array Help

  1. #1
    Join Date
    Feb 2004

    Unanswered: Array Help

    I have scalar value that I need to split into each character

    For example

    $sql= SELECT

    I want to be able to get each letter for example


    Is this posible? Is there a way to split and get each letter?

  2. #2
    Join Date
    Apr 2004
    my @letters = split //, $string;

    More info here:
    perl -le 'print reverse reverse "just another perl hacker"' subversion hosting - remote hosted revision control with easy admin, ssl security & backups

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts