SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ModifiersFromStringOptions

    Configuration options for customizing the parsing of a string into an ICell.Update object. Commonly used for processing CSV imports and other string-based data sources.

    interface ModifiersFromStringOptions {
        ignoreQuotePrefix?: boolean;
        parse?: (text: string, context: IteratorContext) => ICell.Update;
    }
    Index
    ignoreQuotePrefix?: boolean

    If true, the leading quote character in the string will be ignored during parsing. This option is typically useful when importing data from CSV files.

    false
    
    parse?: (text: string, context: IteratorContext) => ICell.Update

    Provides a custom callback for parsing strings during updates. This is particularly useful for handling complex data transformations in CSV imports or other data bindings.

    • The context parameter supplies cell-specific information and utility methods.
    • The callback should return an ICell.Update object, or undefined to use the default parsed value.

    Type Declaration

      • (text: string, context: IteratorContext): ICell.Update
      • Parameters

        • text: string

          The input string to parse.

        • context: IteratorContext

          The context providing access to cell-specific information for parsing.

        Returns ICell.Update

        The parsed ICell.Update object, or undefined to use the default value.