String operations counting number of variables in a string

Hi everyone,

I have a string which contains the following info in this format.
ResellerName/ResellerEmail/UserName/UserEmail or just UserName/UserEmail without reseller.

For example, the data can come in adam/ adam@abc.com/ bryan/ bryan@cbd.com or just in the format bryan/ bryan@cbd.com

My strategy is to count the number of ' / ' in the string and do a split operation according to the number of ' / ' and values in the list into an array.

However it seems there are no operations that let me count number of ' / ' in a string. Anyone able to help me on this?

Comments

Sign In or Register to comment.