Skip to content

Get String Error Contexts.vi, context output #18

Description

@kosist

Hello James,

let me, please, ask you regarding "Get String Error Contexts.vi"...
Imagine that strings "actual string" = "New", and "expected string" = "Test" are compared. Actual and expected chars are clear, "N" and "T", respectively. But, it is not clear what does "Actual Context" mean (it is equal to "New_N_ew")...
Get String Context
In documentation of the "Pass If Equal String.vi" is written that "The results string will tell you which characters don't match (with slash code display) and provide an excerpt around this point for context.". But what does this excerpt mean, and how it could help in troubleshooting? Could you, please, if possible, describe how it is meant to be used?..

Thank you very much,

Sincerely, Ivan.

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions