Hi,
Am trying to split a string with bracket in ksh but it is not splitting it correctly.
split("Hello, Name(1), Name(2)", main,",");
How do i split correctly?
Hi,
Am trying to split a string with bracket in ksh but it is not splitting it correctly.
split("Hello, Name(1), Name(2)", main,",");
How do i split correctly?
can you give the sample output .
Please tell what is your requirement and what is the result that you want.....
$set $(OFS=,;echo "Hello, Name(1), Name(2)")
$echo $3 $2 $1
Name(2) Name(1), Hello,