String Functions

This chapter describes the Intel® IPP functions that perform operations with a text. First part describes the functions for simple string manupulation. Second part contains functions that perform more sophisticated matching operation using patterns of the regular expressions.

The full list of functions in this group is given in the table below.

Intel IPP String Functions
Function Base Name Operation
String Manipulation Functions
Find, FindRev Looks for the first occurrence of the substring matching the specified string.
FindC, FindRevC Looks for the first occurrence of the specified element within the source string.
FindCAny, FindRevCAny Looks for the first occurrence of any element of the specified array within the source string.
Insert Inserts a string into another string.
Remove Removes a specified number of elements from the string.
Compare Compares two strings of the fixed length.
CompareIgnoreCase, CompareIgnoreCaseLatin Compares two strings of the fixed length ignoring case.
Equal Compares two strings of the fixed length for equality.
TrimC Deletes all occurrences of a specified symbol both in the beginning and in the end of the string.
TrimCAny Deletes all occurrences of any of the specified symbols both in the beginning and in the end of the source string.
TrimStartCAny, TrimEndtCAny Deletes all occurrences of any of the specified symbols either in the beginning or in the end of the source string, respectively.
ReplaceC Replaces all occurrences of a specified element in the source string with another element.
Uppercase, UppercaseLatin Converts alphabetic characters of a string to all uppercase symbols.
Lowercase, LowercaseLatin Converts alphabetic characters of a string to all lowercase symbols.
Hash Calculates a hash value for the string.
Concat Concatenates several strings together.
ConcatC Concatenates several strings together and inserts symbol delimiters between them.
SplitC Splits source string into separate parts.
Functions for Work with Regular Expressions
RegExpInitAlloc Allocates memory and initializes the structure for processing matching operation with regular expressions.
RegExpFree Frees the memory allocated for a regular expression state structure.
RegExpInit Initializes the structure for processing matching operation with regular expressions.
RegExpGetSize Computes the size of the regular expression state structure.
RegExpSetMatchLimit Sets the value of the matchLimit parameter.
RegExpFind Looks for the occurrences of the substrings matching the specified regular expression.
RegExpSetFormat Sets source encoding format for given compiled pattern.
ConvertUTF Converts UTF16BE or UTF16LE format to UTF8 and vice versa.
RegExpMultiGetSize Computes the size the multiple patterns search engine memory.
RegExpMultiInit Initializes state structure for multi patterns search engine.
RegExpMultiInitAlloc Allocates and initializes the multiple patterns search engine memory.
RegExpMultiFree Frees memory allocated for the state structure for the multiply patterns search engine.
RegExpMultiAdd Adds the specified pattern to the multiple patterns database.
RegExpMultiDelete Deletes the specified patterns from the multiple pattern database.
RegExpMultiModify Modifies the specified patterns in the multiple pattern database.
RegExpMultiFind Looks for the occurrences of the substrings matching the multiple pattrerns.
RegExpReplaceGetSize Calculates the size of the state structure for the find-replace operation.
RegExpReplaceInit Initialize the state structure for the find-replace operation.
RegExpReplace Performs find and replace operation.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.