Hi,
does anybody know how can I split a string at a specific index in vb.net or c#?
Let's say I have a long text, and I want the text to display only the first 30 character, is there a way to do that?
I know other split functions such as:
That's working very well, but I need to split my text at a specific index. Anyway help please?
Regards,
Wassim
does anybody know how can I split a string at a specific index in vb.net or c#?
Let's say I have a long text, and I want the text to display only the first 30 character, is there a way to do that?
I know other split functions such as:
Code:
dim myInitialString, myStrings() as string
Code:
myInitialString = "Whatever....."
Code:
myStrings = myInitialString.split("anyCharacter")
Regards,
Wassim
Comment