Introduction
The basic motivation of creating this Library is to build a Rich Utility Library that can solve day-to-day common coding problems. In this current version, only two classes are provided i.e. StringPlus and FilePlus
StringPlus
This StringXP class is used to provide all the string related activities/methods. In this current version StringPlus provides 24 Utility Functions.
public static String ToUpperCase(String value)
public static String ToUpperCase(String value, Char character)
public static String ToUpperCase(String value, Char[] characters)
public static String ToUpperCase(String value, int startIndex, int length)
public static String ToLowerCase(String value)
public static String ToLowerCase(String value, Char character)
public static String ToLowerCase(String value, Char[] characters)
public static String ToLowerCase(String value, int startIndex, int length)
public static String ToSentenceCase(String value)
public static String ToTitleCase(String value)
public static String Remove(String value, Char character)
public static String Remove(String value, Char[] character)
public static String PostAppend(String value, String appendValue)
public static String PreAppend(String value, String appendValue)
public static int Occurrence(string value, char character)
public static int Occurrence(string value, char character, bool ignoreCase)
public static bool Contains(string value, string searchValue)
public static bool Contains(string value, char searchCharacter)
public static string Reverse(string value)
public static string Right(string value, int length)
public static string Left(string value, int length)
public static int Count(string value, ARSLib.CharacterType charaterType)
FilePlus
This FilePlus class is used to provide all the file related activities/methods. In this current version FilePlus provides 07 Utility Functions.
public static bool IsFileExist(string filePath)
public static bool CopyFile(string currentPath, string destinationPath, bool overwrite)
public static void CopyFile(string currentPath, string[] destinationPaths, bool overwrite)
public static bool DeleteFile(string filePath)
public static bool DeleteFile(string[] filePaths)
Community Help
If you have any kind of idea of improving this library, please do comment on it and let me know about other utility functions you want in this library. i will be updating this library on weekly basis.