Skip to content

Step Functions: String startsWith and contains #479

@thantos

Description

@thantos

use condition StringMatch to preform startsWith and contains on a String.

StringMatch only supports static values.

May also be able to StringSplit($.value, $.searchTerm) to accomplish these.

  • ArrayLength(StringSplit(..)) > 2 => contains == true.
  • ArrayLength(StringSplit(..)) > 2 && arr[0] === "" starts with == true

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions