TrimLeft - C++ Builder

C++ Builder 参考手册 ➙ System::Sysutils ➙ TrimLeft


返回把字符串前面空白字符去掉的字符串

头文件:#include
命名空间:System::Sysutils
函数原型:

System::UnicodeString __fastcall TrimLeft(const System::UnicodeString S);

参数:

  • S:字符串;

返回值:

  • 返回把字符串 S 前面空白字符去掉的字符串,空白字符即编码值在 0x01 到 0x20 之间的字符,包括空格、回车、换行、制表符等控制符,字符串中间和后面的空白字符不处理。例如 TrimLeft(L" ab cd ") 返回 L"ab cd "

相关:

  • System::Sysutils::Trim
  • System::Sysutils::TrimLeft
  • System::Sysutils::TrimRight
  • System::Sysutils
  • System::UnicodeString::Trim
  • System::UnicodeString::TrimLeft
  • System::UnicodeString::TrimRight
  • System::AnsiStringBase::Trim
  • System::AnsiStringBase::TrimLeft
  • System::AnsiStringBase::TrimRight
  • System::AnsiStringT::Trim
  • System::AnsiStringT::TrimLeft
  • System::AnsiStringT::TrimRight
  • System

C++ Builder 参考手册 ➙ System::Sysutils ➙ TrimLeft

你可能感兴趣的:(TrimLeft - C++ Builder)