This is a good time for replaceAll(regex, replacement) : String testString = 'Line 1\r\nLine 2\r\n\r\nLine 3'; system.debug(testString.
確定! 回上一頁