Problem String Replace in c#....plz help

csharp Antarctica
  • 12 years ago

     Hi friends.

    I have string contain hindi and english words...now i want separate onle hindi word into another string..

    plz any idea or code share with me...

    thks and regards..

    pash
     

  • 12 years ago

    HI,

       u can seperate the string using Substring......

     try vth these....

     
    http://www.csharphelp.com/archives4/archive616.html
    www.java2s.com/Code/VB/Language-Basics/StringSubstringLastIndexOf.htm
    http://www.c-sharpcorner.com/UploadFile/mgold/SuperStringMG11262005000020AM/SuperStringMG.aspx

     

    hope this helps....

     

    thnqq
     

  • 12 years ago

     Thks swati but that text contain some ascii value for english and hindi..so how shoud i find that thins..

  • 12 years ago

     hi,

         i don't know that....but u can do like this...

    first...convert that ascii values to string...and then seperate it...........

     
    and if i get any new idea i'll tell u.........

    ok...
     

  • 12 years ago

    hi,

        please once send ur ascii values string ......

     

    thnqqq

     

Post a reply

Enter your message below

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

Contribute

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.

“In order to understand recursion, one must first understand recursion.”