Decoder: String Functions

Document created by RSA Information Design and Development on Sep 13, 2017Last modified by RSA Information Design and Development on Oct 11, 2017
Version 6Show 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.
 name The unique identifier of a string variable to which the specified value is to be attached.
 value A 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. 
 name number variable to receive the zero-based position, where the provided value string was found in the in string.
 value A string to find.
 in A 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.
 name number variable to receive the length of the specified string.
 value A 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.
 name A number variable to receive the zero-based position, where the provided regular expression matched in the in string. 
 value A regular expression to be searched for.
 in A 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.
 name The unique identifier of a string variable to receive the extracted value.
 value A 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.
 name The name of a string variable to process.
toupper  Converts a string to all uppercase letters.
 name The name of a string variable to process.
urldecode  Decode a string containing url-encoded characters.
 name A string variable to receive the decoded string.
 value A url-encoded string to decode.
base64decode  Decodes a base-64 encoded string.
 name A string variable to receive the decoded string.
 value A url-encoded string to decode.
uudecode  Decode a uuencoded string.
 name A string variable to receive the decoded string.
 value A uuencoded string. The header and trailing lines should not be included.
quotedprintabledecode  Decode a Quoted-printable encoded string.
 name A string variable to receive the decoded string.
 value A quoted-printable encoded string.
convert-ebcdic  Convert an EBCDIC string to its ASCII equivalent.
 name A string variable to receive the decoded string.
 value A url-encoded string to decode.
Previous Topic:Regex
Next Topic:Geo IP Parser
You are here
Table of Contents > Feed and Parser References > Flex Parser > String Functions

Attachments

    Outcomes