I have an NSArray
which contain string
values, but sometimes it may contain null
values also. I am getting that array
like this,
(
"<null>",
"<null>",
"<null>",
"<null>",
"<null>"
)
I want to replace above by,
(
" ",
" ",
" ",
" ",
" "
)
That means I want to replace <null>
by an empty string
. how to achieve that ? I am aware of some string
methods but that can not be implemented on array
.