I have a string with value “1131200001103”.
How can I display it as a string in this format “11-312-001103” using Response.Write(value)?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This produces the required result
assuming that you want to drop 2 characters at the position of the 2 first nulls.