how to remove first three character from its urgent?

csharp Antarctica
  • 12 years ago

     hi friends ..i have string like this "+919824335667" i want remove first three charcter ..

    so i want only number 9824335667.

  • 12 years ago

    Please use substring for the string that you want

    i.e : 

    Dim sNumber as String = "+919824335667"


  • 12 years ago
    String oldString = ""+919824335667";string newNumber = oldString .Remove(0, 3);


    It will help u.

  • 12 years ago

    String oldString = ""+919824335667";

    string newNumber = oldString .Remove(0, 3);


    It will help u.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Before software should be reusable, it should be usable.” - Ralph Johnson