This is a discussion on String within the ASP and ASP.NET Programming forums, part of the Web Development category; There is a String as "Georgia A1". How can we seperate "A1" from "Gerogia A1&...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| using Variable.Split(' ') ...this one split the String Variable ..here we have used the separator space..This function returns ...string Array ... |
| |||
| Hi, You can use SubString(start,End).First u get string length. For eg; s="Georgia A1";(10 characters including blankspace) string s2=s.subString(9,10); 9->Start Postion of String 10->End Position of String Like this also u can separate strings and get the required subString |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Convert String to Date: new Date(string) | oxygen | Flash Actionscript Programming | 3 | 03-07-2008 09:24 PM |
| Compare a string with String Array. | oxygen | C# Programming | 5 | 12-28-2007 11:18 PM |
| What is diffrenece between string.compare and string.compareordinal | shaalini | ASP and ASP.NET Programming | 3 | 12-28-2007 10:46 PM |
| Connection String | prasannavigneshr | Database Support | 28 | 12-14-2007 11:43 PM |
| How to split a string by using a string usually in the c# dotnet... | Archer | C# Programming | 1 | 07-25-2007 03:26 AM |