Name Jordan
Address Oxford Road
Post Code NG56 5LK
Country England
There are no commas or other special characters and the string will always contain ‘Name’ ‘Address’ Post Code’ ‘Country’
I’d like to build a generic component that allows you to pass in the string and two inputs and an output
The two inputs would your chosen start text and chosen end text and the output would be the data between those inputs
So if I chose ‘Name’ as start text and ‘Address’ as end text, it would return ‘Jordan’
If I chose ‘Address’ as start text and ‘Post Code’ as end text, it would return ‘Oxford Road’
Please can I ask if anybody can help me with the ‘code’ I would need to achieve this?
Use Input dialogue Box for two inputs for getting text in between them
Then use assign
OutPutTxt=FullText.split({Input1.tostring},StringSplitOptions.None(1).trim.Split({Input2.Tostring},StringSplitOption.None(0).trim)
I can’t quite get your string to work. I’ve used the same variable names, please can you see where I am going wrong? I’ve inclued a screenshot, and xmal if any help