Synalyze It! Help
Index

# Edit properties of a string element

The attributes you can set for string elements:

- Repeat min: Minimum repeat count of this element. Set to zero if it's optional.
- Repeat max: Maximum repeat count of this element. Use this to map an array of offsets.
- Stroke color: The stroke color used in the hex view for this offset element.
- Fill color: The fill color used in the hex view for this offset element.
- Type: Can be
  1. Fixed length - specify the string length in the field length
  2. Zero terminated - the end of the string is marked with a zero byte (or two for double-byte characters)
  3. Pascal - the string length is stored in the first byte, followed by the characters
- Length: The length of the string in bytes.
- Encoding: The string character encoding
- Fixed Values: Sometimes strings are allowed to have only certain values. Edit here as many as you like.
- Must match: If you mark this check box and the parsed string is not one of the fixed values, the mapping of the structure enclosing this string element fails. This can be useful for structures inside variable-order structures.

## See also

How are the structures mapped?
The Reference document