Skip to Content

Splitting the String

Hi All,

 

I hope there no key word in SDK for splitting the string. Here i am sharing my attempt for splitting the string. If any improvement required in code or logic. If any of you have any alternate thought or any other technique which already exist in SDK. please let me know.

 

I hope SDK Experts Horst Schaude, Alessandro Iannacci, @Stefan Krauth …… has better coding or technique then this 🙂 .

 

Step 1: Reuse library for splitting the string. It has two importing parameters(STRING_QU_RE -> String to be split, SPLIT_QU_RE -> Splitting Variable, Return will be collection split strings ).

Reuse_library.PNG

 

Step 2: Logic for splitting the string.

Logic.png

Step 3: Business object for testing the Reuse Library for splitting the string.

Business Object.png

Step 4: Script for executing the Reuse Library.

Script.png

Step 5: Testing the Business Object for splitting the string.

 

5.a: Input the String and Split Key

output.PNG

5.b: Click on Split String.

output1.PNG

output2.PNG

If this blog is help full. Please Share it, Like it and Comment it below 🙂 😆 😆 .

 

Thanks,

Quddus.

13 Comments
You must be Logged on to comment or reply to a post.