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/ bryan/ or just in the format bryan/

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?


Sign In or Register to comment.