How to use split function in string?

in userinfo table their is one field called UserName. In this field the full name of all users are stored. Like Akshay, Bankar(Comp).

Now I want to write 1 display method and in that method I just want to display the first name “Akshay” only. How can I do this…?

Hi,

You can use strSplit method from the Global class as following:

global::strsplit(your_string,your_delimiter)

regards,

Thomas

Hi Thomas,

Thankx for your reply.

Can you please elaborate this function.

I want to show that first name in display method.

the following link should help you:

http://krishhdax.blogspot.fr/2012/05/ax2012-strsplit-function-with-list.html