CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Split text into array

 



aerodyna
New User

Oct 16, 2011, 10:56 PM

Post #1 of 2 (955 views)
Split text into array Can't Post

if i have a string

header1XXXheader 2XXXXXheader 3

treat X as whitespace, how can i use regular expression to split out this in to an array?
i want my end result be
header1
header2
header3


rovf
Veteran

Oct 17, 2011, 3:14 AM

Post #2 of 2 (944 views)
Re: [aerodyna] Split text into array [In reply to] Can't Post

See the

Code
split

function.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives