//Microsoft Public License (Ms-PL)
//http://visualizer.codeplex.com/license
using System;
using System.Collections.Generic;
namespace Redwerb.BizArk.Core.StringExt
{
///
/// Provides extension methods for strings.
///
public static class StringExt
{
///
/// Gets the right side of the string.
///
///
///
///
public static string Right(this string str, int length)
{
if (str == null) return null;
if (str.Length <= length) return str;
return str.Substring(str.Length - length);
}
}
}