Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Buffer Methods > Put String in Buffer MethodThe Put String in Buffer method replaces existing data in a buffer with a string that you specify. It replaces data starting at the current position of the cursor. This method does one of the following depending on if the Unicode flag in the buffer object is set:
This method does not add a terminating null byte at end of the string. To put a null string in the buffer object, you can use the following code: buf1.putString("Hello"); // Put the string into the buffer FormatTable 57 describes the arguments for the Put String in Buffer method.
ExampleThe following example places the language string in the exclamation buffer and displays the modified contents of the explanation buffer: function eScript_Click () This modification is a string that contains the following value: I enjoy coding with Siebel eScript. Related Topics |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |