6
Answers

substring of string

Photo of Ankit  Shukla

Ankit Shukla

8y
383
1
Hi;
 
 Suppose I have a string like 'AD/1001/CXS' . I need to find characters after second '/' means output will be 'CXS'.
 
Ex.   Output of AD/1001/CXS'  is 'CXS'  and output of ADE/1001/CXSQ' is 'CXSQ'

Answers (6)

0
Photo of Deepak Tewatia
14 15.8k 23.5k 1y

It seems like you're seeking guidance on the usage of the HttpContext.Current.Session in ASP.NET within the scope of career advice technology. Let's delve into this technical query.

The provided code snippet aims to retrieve the value stored in the session variable "cUserType" within the ASP.NET framework. This implies that the cUserType session variable is being accessed and its value is being converted to a string using the ToString() method.

In the context of career advice technology, it's important to ensure secure and efficient usage of session variables. This includes considering data persistence, session management, and potential security vulnerabilities.

If you have specific questions or concerns about using session variables in ASP.NET for career advice technology, feel free to elaborate, and I'd be glad to provide further insights or code examples.