The use of the .replace method under the JAVA basic String wrapper class and the usage scenarios of char and character sequences

 

 

 

ptLink0.setText(arbu.getPtLink().replace("&","&" ));  
                 // If replacement like '&','&' is not possible, because '' is for char, To replace a sequence of characters, use ""

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325231333&siteId=291194637