Decoder: String Functions

Document created by RSA Information Design and Development on Nov 23, 2016Last modified by RSA Information Design and Development on Mar 28, 2017
Version 4Show Document
  • View in full screen mode
  

This topic provides language definitions for the flex parser string functions.

String Functions Language Definition

                                                                                                                                                                                                                       
Node NameAttribute NameDescription
append Attaches a number or string to the end of a string variable.
 nameThe unique identifier of a string variable to which the specified value is to be attached.
 valueA number or string to attach.
find Searches a string for a provided string value. If it is found, the position is returned and any child elements will execute. Otherwise, child elements will not execute. 
 namenumber variable to receive the zero-based position, where the provided value string was found in the in string.
 valueA string to find.
 inA string to search.
 length (optional)A limit to the length of the in string to be searched. If a limit is not provided, all of in will be searched.
length Assigns the length of a string to a number variable.
 namenumber variable to receive the length of the specified string.
 valueA string value whose length is to be determined.
regex Searches a string for matches to the provided regular expression. If a match is found, the position and, optionally, the matching string is returned. Any child elements will then execute. If not found, any child elements will not execute. Regular expression operations can adversely affect system performance.
 nameA number variable to receive the zero-based position, where the provided regular expression matched in the in string. 
 valueA regular expression to be searched for.
 inA string to search.
 length (optional)A limit to the length of the in string to be searched. If a limit is not provided, all of in will be searched. 
 found (optional)The name of a string variable to receive the matched string.
substring At least one of the optional attributes from and length must be specified.
 nameThe unique identifier of a string variable to receive the extracted value.
 valueA string value from which to extract a substring.
 from (optional)The zero-based position from which to begin the substring. If not specified, it defaults to zero. 
 length (optional)The number of characters to extract. If not specified, it defaults to the remaining length of the string.
tolower Converts a string to all lowercase letters.
 nameThe name of a string variable to process.
toupper Converts a string to all uppercase letters.
 nameThe name of a string variable to process.
urldecode  Decode a string containing url-encoded characters.
 nameA string variable to receive the decoded string.
 valueA url-encoded string to decode.
base64decode  Decodes a base-64 encoded string.
 nameA string variable to receive the decoded string.
 valueA url-encoded string to decode.
uudecode  Decode a uuencoded string.
 nameA string variable to receive the decoded string.
 valueA uuencoded string. The header and trailing lines should not be included.
quotedprintabledecode  Decode a Quoted-printable encoded string.
 nameA string variable to receive the decoded string.
 valueA quoted-printable encoded string.
convert-ebcdic  Convert an EBCDIC string to its ASCII equivalent.
 nameA string variable to receive the decoded string.
 valueA url-encoded string to decode.
Previous Topic:Regex
Next Topic:Geo IP Parser
You are here
Table of Contents > References > Services Config View - Files Tab > Flex Parser > String Functions

Attachments

    Outcomes