Split the firstname

resources have full name ex(ABC Patel). to how I can split it.

@Aarti_Godhasara,

try like this

SpecificContent("resources").ToString.Split(" "c)(0)

Hi @Aarti_Godhasara

StrContent.split("".ToCharArray)(0).ToString

Thanks
Ashwin S

Hi @Aarti_Godhasara

Use the below code

Example
“ABC Patel”

This will give “ABC”
In_TransactionItem.SpecificContent("Resources").ToString.Split(" "c)(0)

This will give “Patel”
In_TransactionItem.SpecificContent("Resources").ToString.Split(" "c)(1)

This will give split results as an array
In_TransactionItem.SpecificContent("Resources").ToString.Split(" "c)

thank you. it will worked :blush:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.