My Oracle Support Banner

How To Replace Carriage Return In Text (Doc ID 533829.1)

Last updated on NOVEMBER 01, 2018

Applies to:

Siebel Tools - Version [16084] to 8.1.1 [21112] [Release V7 to V8]
z*OBSOLETE: Microsoft Windows 2000
Product Release: V7 (Enterprise)
Version: [16084]
Database: Oracle
Application Server OS: Microsoft Windows 2000 Advanced Server
Database Server OS: Microsoft Windows 2000 Advanced Server

This document was previously published as Siebel SR 38-1371969275.

"Checked for Relevance on 03-July-2013"


We have a few multi line text boxes that allow carriage returns. The values in these text boxes are integrated with SAP and can have unicode values. If a carriage return is sent to SAP in one of these fields then processes on the SAP side fail.

How to replace the carriage returns with spaces?

Cannot use string.replace due to the product defect with unicode characters. Tried parsing the line by using IndexOf, but cannot figure out how to identify the carriage return and replace it?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.