Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Step Functions: String startsWith and contains #479

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions