Hi all,<br><br>I am trying to replace String -> OUString, but am stuck badly at certain places. <br><br>I replaced:<br><br>'rName.SetChar( i, c )' by the following:<br><br> OUStringBuffer aTmpStr( rName.getStr() ) ;<br>
aTmpStr[ i ] = c ;<br> rName = aTmpStr.makeStringAndClear() ; <br><br>But I get an error: ‘OUStringBuffer’ was not declared in this scope ! <br>I tried out many things but with fail.<br><br>
Secondly, I would like to know that what are the parameters to replace foo.Erase(a,b) i.e. the middle part of some string using OUStringBuffer() or copy ?<br><br>I would be more than happy if someone could help me in this regard.<br>
Waiting for an earliest reply!<br><br>Thanks<br><br>Prashant Pandey<br>