I have a string like "system\admin". Now I want get the "admin" part alone from the string using IndexOf() method.Can anyone please help me out.Thank you.
scvinod 0 Newbie Poster
glasnoster 5 Newbie Poster
Rashakil Fol commented: complete fail -1
kvprajapati commented: N/A +6
scvinod 0 Newbie Poster
glasnoster 5 Newbie Poster
glasnoster 5 Newbie Poster
glasnoster 5 Newbie Poster
scvinod 0 Newbie Poster
glasnoster 5 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
ddanbe commented: Efficient as always! +5
Rashakil Fol commented: lol StringSplitOptions.None +6
Rashakil Fol 978 Super Senior Demiposter Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.