Libraries
You can find information where to put Libraries' files in the MQL 4 section.
String Library
String Library provides a group of useful functions intended for working with strings. The library perfectly complement build-in functions of MetaTrader. After copying the files into corresponding directories you can include the library by adding following line to your files: #include <StringLib.mqh>.
Functions:
string stringReplaceAll(string str, string toFind, string toReplace) — Returns a new string resulting from replacing all occurrences of toFind in this string with toReplace.
string stringReplaceFirst(string str, string toFind, string toReplace) — Replaces the first substring of this string that matches toFind with toReplace.
void stringSplit(string& output[], string input, string token) — Splits input string into output array around given token.
string stringTrim(string str) — Returns a copy of the string, with leading and trailing whitespace omitted.
bool stringStartsWith(string str, string prefix) — Tests if given string starts with the specified prefix.
bool stringEndsWith(string str, string suffix) — Tests if given string ends with the specified suffix.
string stringToLowerCase(string str) — Converts all of the characters in the given string to lower case (works only with English alphabet).
string stringToUpperCase(string str) — Converts all of the characters in the given string to upper case (works only with English alphabet).
bool stringEqualsIgnoreCase(string str1, string str2) — Compares one string to another string, ignoring case considerations (works only with English alphabet).
Download StringLib.zip and unpack it in experts subdirectory.