StringHelper GetSubStrings Method MVC+ (Model-Facade-View-Controller) Framework for ASP.NET
Splits the string subject to specefied delimeter.

Namespace: NovaDimension.Component
Assembly: NovaDimension.Component (in NovaDimension.Component.dll) Version: 4.0.209.0 (4.0.0209.0)
Syntax

public static string[] GetSubStrings(
	string pStr,
	string pDelimeter
)

Return Value

Type:  String 
array of splitted sub-strings
Exceptions

Examples

This sample shows how to use the GetSubStrings(String, String) static method.
using system;
using NovaDimension.Component;

class TestClass()
{
    static int Main()
    {
        try
        {
            String str = "foo1;;foo2";
            String delimeter = ";;"
            String[] strSub = StringHelper.GetSubStrings(str, delimeter);
        }
        catch (ExceptionEx<StringHelperException> ex)
        {
            Console.WriteLine(ex.Message);
        }
    }
}
See Also