Split substring from string

  • 17 May 2021
  • 1 reply
  • 290 views

Hi Everyone.

 

I have a string "tokyo temperature today"...

 

How to split to received a substring "temperature" with the Split activity ?

 

Thanks you!

 


1 reply

Hello,


if you particularly want to use split method from studio then you can use it twice and split string from the first occurance of space.


you can easily get the specific path with this or you can use run script and run a python code to split whole string into an array an get specific value from specific index.


I am attaching images of studio split method, try that and in show message print $str1$.



Thanks

Reply