kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

How to determine that the "key" contains the specified string?

Open nightzjp opened this issue 1 year ago • 4 comments

Issue submitter TODO list

  • [X] I've looked up my issue in FAQ
  • [X] I've searched for an already existing issues here
  • [X] I've tried running master-labeled docker image and the issue still persists there
  • [X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

Value的值

{
    "name": "这是一段测试文本XXX"
}

I want to determine if name contains the specified string "XX"; I tried using value.name contains "XX", "XX" in value.name, the judge fails

Expected behavior

I want to determine if name contains the specified string "XX"; I tried using value.name contains "XX", "XX" in value.name, the judge fails

Your installation details

Steps to reproduce

{ "name": "这是一段测试文本XXX" }

Screenshots

No response

Logs

No response

Additional context

No response

nightzjp avatar Apr 23 '24 11:04 nightzjp

Hello there nightzjp! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

github-actions[bot] avatar Apr 23 '24 11:04 github-actions[bot]