Platforms to show: All Mac Windows Linux Cross-Platform
Back to JavaClobMBS class.
JavaClobMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
JavaClobMBS.getSubString(Position as int64, Length as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The substring begins at position pos and has up to length consecutive characters.
Parameters:
pos: the first character of the substring to be extracted. The first character is at position 1.
length: the number of consecutive characters to be copied
Returns a String that is the specified substring in the CLOB value designated by this Clob object
Some examples using this method:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns length of the CLOB in characters.
JavaClobMBS.position(SearchString as JavaClobMBS, Start as Int64) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The search begins at position start.
SearchString: the Clob object for which to search
start: the position at which to begin searching; the first position is 1
Returns the position at which the Clob object appears or -1 if it is not present; the first position is 1
See also:
JavaClobMBS.position(SearchString as String, Start as Int64) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The search begins at position start.
searchstr: the substring for which to search
start: the position at which to begin searching; the first position is 1
Returns the position at which the substring appears or -1 if it is not present; the first position is 1
See also:
JavaClobMBS.setString(Position as Int64, Value as String) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Position: the position at which to start writing to the CLOB value that this Clob object represents
Value: the string to be written to the CLOB value that this Clob designates
Returns the number of characters written
See also:
JavaClobMBS.setString(Position as Int64, Value as String, Offset as Integer, Length as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Position: the position at which to start writing to this CLOB object
Value: the string to be written to the CLOB value that this Clob object represents
Offset: the offset into str to start reading the characters to be written
Length: the number of characters to be written
Returns the number of characters written
See also:
JavaClobMBS.truncate(len as int64)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
len: the length, in bytes, to which the CLOB value should be truncated
The items on this page are in the following plugins: MBS Java Plugin.