> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# identical_string_fields class

**Namespace:** [Ans.DataProcessing.operators.logic](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/logic)

## Summary

Takes two string fields and compares them.

available inputs: `string_fieldA` (StringField), `string_fieldB` (StringField)

available outputs: `are_identical` (bool), `information` (string)

## Example

```python theme={null}
op = identical_string_fields()

op = identical_string_fields(string_fieldA=my_string_fieldA,string_fieldB=my_string_fieldB)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.logic` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### string\_fieldA

**Type:** *LinkableInput*

### string\_fieldB

**Type:** *LinkableInput*

## Outputs

### are\_identical

**Type:** *LinkableOutput*

### information

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
identical_string_fields()
```

#### Constructor

```python theme={null}
identical_string_fields(string_fieldA, string_fieldB, config)
```

**Parameters:**

* `string_fieldA` (*object*)
* `string_fieldB` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
identical_string_fields(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
