Class

StringUtils

StringUtils()

String processing utilities for CSV parsing

Constructor

# new StringUtils()

View Source src/util/stringUtils.js, line 7

Methods

# getValueFormatByType(value) → {string|number|boolean}

Converts a string value to its appropriate type while preserving data integrity

Parameters:
Name Type Description
value string

The input value to convert

View Source src/util/stringUtils.js, line 40

The converted value

string | number | boolean

# hasContent(values) → {boolean}

Checks if a value array contains any non-empty values

Parameters:
Name Type Description
values Array

Array to check for content

View Source src/util/stringUtils.js, line 65

True if array has any non-empty values

boolean

# trimPropertyName(shouldTrimAll, propertyName) → {string}

Removes whitespace from property names based on configuration

Parameters:
Name Type Description
shouldTrimAll boolean

If true, removes all whitespace, otherwise only trims edges

propertyName string

The property name to process

View Source src/util/stringUtils.js, line 26

The processed property name

string