StringLib includes functions to work with strings.
eglx.lang
Function | Purpose |
---|---|
StringLib.format function | StringLib.format accepts a non-string value and a pattern and returns the corresponding string. |
StringLib.fromCharCode function | StringLib.fromCharCode returns a UNICODE character that corresponds to an integer representation. |
StringLib.GetNextToken function | StringLib.getNextToken returns a token from a substring. |
StringLib.getTokenCount function | StringLib.getTokenCount returns the number of tokens in a source string. |
StringLib.spaces function | StringLib.spaces returns a string of spaces of the specified length. |
The eglx.rbd package contains the StrLib library, which includes functions and constants that are particularly convenient for a subset of users who are migrating code from IBM® Rational® products. For new development, use the more efficient functions in the StringLib library and in the EDT STRING type.
StringLib is implemented as an EGL external type, stereotype NativeType, and not as an EGL library.
Target | Issue |
---|---|
Java™ | See the function-specific topics. |
JavaScript™ | See the function-specific topics. |