|
Home > Online Product Documentation > Table of Contents > Manipulating Strings Manipulating StringsAfter you obtain a string, you might want to manipulate it and use the result in the query. This section describes functions that allow you to do this. It discusses the following topics: Concatenating Strings
To concatenate two or more strings, call the
The
Determining the Number of Characters in a String
To obtain the number of characters in a string, call the
The
Normalizing Strings
To strip leading and trailing white space from a string, call the
The
If there are consecutive internal spaces, the
Replacing Characters in Strings with Characters You Specify
To replace characters in a string with other characters, call the
The
Execution of this function returns
Execution of this function returns
If a character occurs more than once in the second argument string, the first occurrence determines the replacement character. If the third argument string is longer than the second argument string, the XPath processor ignores the excess characters. Converting Objects to Strings
In some situations, you might want to force a string comparison. The XPath processor performs a string comparison only when the operands are neither Boolean nor numeric values. If an operand is numeric or Boolean, call the
The
Node Sets
When the
Numbers
The
Boolean Values
The
Finding Strings That Start with a Particular String
To determine if a string starts with a particular string, specify the
This function returns
|
Building DataDirect XML Converter Applications with Stylus Studio
DataDirect XML Converters are Java and .NET components that enable access to any data (flat files, EDI) from your application code. Learn how to deploy XML applications today.
Data Integration Tools: Using the Stylus Studio XML Pipeline to Visually Integrate and Publish Data
Data Integration Tools from Stylus Studio include a visual pipeline editor, support for non-XML data sources, scalable data integration components, cross-language debugging and Java code generation. Try it now.
XML Parser
An XML Parser is a parser that is designed to read XML and create a way for programs to use XML. Learn about Stylus Studio's comprehensive support for all of the world's leading XML Parsers.
EDI to XML Mapping
A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.