How can i split a sentence based on a word

My String is :
1 2 3 Next Previous Frist Page Last Page Page 1 of 3

I need to get last character from the above string which is 3 and I want to use Split.

Can I use like this variablename.split(“of”,c)(1). Its throwing me an error.

how can I achieve this ?


@saritha You can refer the link for same topic


1 Like

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