My controller code is as follows -
for(String resStr : responseArray){
if(resStr.indexOf('r_error_str') != -1){
responseString += resStr.substring(resStr.indexOf('=') + 1);
responseString += '\n';
}
}
but when i display this 'responseString ' String using 'apex:outputLabel or apex:outputText or as Exception message '\n' is not converting in new line. Whole String is coming in one line.
Can anyone explain why is this happining