#include <StrManip.h>
Inheritance diagram for Conjecture::StrManip:
****************************************************************
This class will almost certainly be restructured and incorporated into a cleaner design - just a placeholder for useful string-related methods for now.
Static Public Member Functions | |
static void | MatchStrings (const std::string &str1, const std::string &str2, std::string &outstr1, std::string &outstr2, char insert= '_') |
static std::string | MergeStrings (const std::string &str1, const std::string &str2, const std::string &indent=" ") |
static void | Test (int argc=0, const char *argv[]=NULL) |
|
Perform optimal string matching between two strings.
|
|
Merge two multi-line strings into a single string. Each line of the strings are concatenated with 'indent' as filler. This produces readable results only if at least the first input string has fixed-length strings. FUTURE FIX: This may be moved to a string-related class. |