//Microsoft Public License (Ms-PL)
//http://visualizer.codeplex.com/license
using System;
using System.Collections.Generic;
namespace Redwerb.BizArk.Core.StringExt
{
/// <summary>
/// Provides extension methods for strings.
/// </summary>
public static class StringExt
{
/// <summary>
/// Splits the string into words (all white space is removed).
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public static string[] Words(this string str)
{
return str.Split(new char[] { }, StringSplitOptions.RemoveEmptyEntries);
}
}
}
|