You can use string constants anywhere in the source expression. String constants are any group of consecutive characters. String constants can consist of 1 to 253 characters. The characters are delimited either by apostrophes (' ') or by quotation marks (" "). Use quotation marks if you need apostrophes inside the constant. The string constant consists of everything between the delimiters, including spaces. Here is an example of a source expression containing string constants:
My_String_Constant = ' Congratulations on your purchase. '
Greeting = My_String_Constant & "Thank you for choosing us."
In this example, the string constant ' Congratulations on your purchase. ' is stored in the string target variable My_String_Constant. The value in My_String_Constant is then added to the string constant Thank you for choosing us. The result is stored in the string target variable named Greeting.
When Greeting is returned to a field, it appears as:
Congratulations on your purchase. Thank you for choosing us.
© Copyright 2012, Oracle and/or its affiliates. All rights reserved. Legal notices.