Loading ...
Sorry, an error occurred while loading the content.

REGULAR EXPRESSION IN SPLIT FUNCTION - PLEASE HELP ME.

Expand Messages
  • ponnambalam.ma@polaris.co.in
    DEAR FRIENDS, PLEASE HELP ME REGARDING THE REGULAR EXPRESSION IN SPLIT FUNCTION data is : CDM210909 or FDM210909 ( ie start with 3characters followed any no
    Message 1 of 1 , Mar 1, 2001
    View Source
    • 0 Attachment
      DEAR FRIENDS,
      PLEASE HELP ME REGARDING THE REGULAR EXPRESSION IN SPLIT FUNCTION

      data is : CDM210909 or FDM210909 ( ie start with 3characters followed
      any no of numeric numbers)
      probelm is : i need to split this word into CDM and 210909 ( split into
      characters & numbers).

      --- ie, i wish to split this word into char (first 3 characters & remaining
      )

      @res=split( / .{3}/ , $data );

      but i could'nt get the answer. can u please help me.
      Expecting your ineffable Wishes,

      Pons.
      Extn: 1328
      --------------------------------------------------------------------------------

      Learn to Grow ------> Grow to Learn more & more.
      --------------------------------------------------------------------------------
    Your message has been successfully submitted and would be delivered to recipients shortly.