Skip to main content
Solved

how to split a word and get the first index value in component

  • October 10, 2024
  • 2 replies
  • 46 views

Forum|alt.badge.img

hi,

i had a word like this “12345 - Data min”, i need to split this word based on - operator and get the first word.

I had another requirement like split and save the words in another varaible

ex : select * from emp;select * from customer

query variable should have splitted value like select * from emp

can you help in implementing above scenario

Best answer by ivysakh

Hi @rajeswarimyla ,

You can use expressions in a component to achieve this. An example is attached here for your reference. 

Cheers!
Vysakh Indrasenan

View original
Did this topic help you find an answer to your question?

2 replies

ivysakh
Space Explorer
Forum|alt.badge.img+3
  • Space Explorer
  • 22 replies
  • Answer
  • October 11, 2024

Hi @rajeswarimyla ,

You can use expressions in a component to achieve this. An example is attached here for your reference. 

Cheers!
Vysakh Indrasenan


Forum|alt.badge.img
  • Author
  • Space Explorer
  • 4 replies
  • October 15, 2024

Thanks for your support, i can get the data successfully as expected.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings