replace blank space
I want to replace a (' ' )blank value with 'OR'
I tried with str.replace(' ','OR')
its throwing me error like invalid character constant
we can use replace all but my websphere doesn't support jdk1.4
is there any other way to do that replacing thing
thanks in advance
yeah some one gave code which uses substring() replacing blankspace with 'OR'
but another porblem is if there is more than one blank space ,all spaces are replaced by 'OR'
how to avoid this
Thanks in advance
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center