\r
#include "Udf.h"\r
\r
+/**\r
+ Trim the leading and trailing spaces for a give Unicode string.\r
+\r
+ @param[in] String The Unicode string to trim.\r
+\r
+ @return A pointer to the trimmed string.\r
+\r
+**/\r
CHAR16 *\r
TrimString (\r
IN CHAR16 *String\r
return String;\r
}\r
\r
+/**\r
+ Replace the content of a Unicode string with the content of another Unicode\r
+ string.\r
+\r
+ @param[in] Destination A pointer to a Unicode string.\r
+ @param[in] Source A pointer to a Unicode string.\r
+\r
+**/\r
VOID\r
ReplaceLeft (\r
IN CHAR16 *Destination,\r
}\r
}\r
\r
+/**\r
+ Remove one or more consecutive backslashes starting from the second character\r
+ of a given Unicode string.\r
+\r
+ @param[in] String A pointer to a Unicode string.\r
+\r
+ @return A pointer to the modified string.\r
+\r
+**/\r
CHAR16 *\r
ExcludeTrailingBackslashes (\r
IN CHAR16 *String\r
\r
@param[in] FileName Filename.\r
\r
- @retval @p FileName Filename mangled.\r
+ @retval The mangled Filename.\r
\r
**/\r
CHAR16 *\r