> 
> I think your subject answers your question:  split() the string.
> 
> E.g. @path = split(/\/,$string);
> 
> should give you the right result.

yep and to take a step further:
($var1, $var2, $var3...) = split(/\/,$string);

> 
> -----Original Message-----
> From: Javeed SAR [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 09, 2002 2:07 PM
> To: [EMAIL PROTECTED]
> Subject: splitting string
> 
> 
> hi All,
> 
> 
> I have string as given below:
> 
> M:\sun1\train\test\Soarian_Context_Sensitive_Coordination_File
> 
> From this string i need to split indivually and get   
>       
> Soarian_Context_Sensitive_Coordination_File     --->   in one 
> variable.
>                                       test
> --->         in one variable
>                                       train
> --->   in one variable                
>                                       sun1
> --->   in one variable
>                                       M:
> --->   in one variable
> 
> 
> 
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to