打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
SAString
Home How To Online Documentation Support Download Order
SACommand
SAConnection
SAException
SAField
SAParam
SAString
SADateTime
SANumeric
SAInterval
Enums and Typedefs
Usage Examples
SAString
See MFC CString class description.
Construction / Destruction
SAString Constructs a SAStringobject
~SAString Destructs a SAStringobject
Methods
Empty Forces a string to have 0 length.
IsEmpty Tests whether a SAStringobject contains no characters.
GetLength Returnsthe number of characters in a SAString object.
operator constSAChar* Directly accesses characters stored in a SAStringobject as a C-style string.
operator= Assigns a new value to a SAString object.
operator+= Concatenates a new string to the end of an existingstring.
operator+ Concatenates two strings and returns a new string.
Format Format the string as sprintf does.
FormatV Formats the string as vsprintf does.
Left Extracts the left part of a string.
Mid Extracts the middle part of a string.
Right Extracts the right part of a string.
TrimRight Trim trailing whitespace characters from the string.
TrimLeft Trim leading whitespace characters from the string.
Replace Replaces indicated characters with other characters.
Insert Inserts a single character or a substring at the givenindex within the string.
Delete Deletes a character or characters from a string.
Compare Compares two strings (case sensitive).
CompareNoCase Compares two strings (case insensitive).
Collate Compares two strings (case sensitive, useslocale-specific information).
Find Finds a character or substring inside a larger string.
ReverseFind Finds a character inside a larger string; starts from theend.
FindOneOf Finds the first matching character from a set.
GetBuffer Returns a pointer to the characters in the SAString.
ReleaseBuffer Releases control of the buffer returned byGetBuffer
LockBuffer Disables reference counting and protects the string inthe buffer.
UnlockBuffer Enables reference counting and releases the string in thebuffer.
GetBinaryLength Returns a count of the bytes in the binary data buffer
operatorconst void * Returns pointer to const binary data buffer
GetBinaryBuffer Gets pointer to modifiable binary data buffer
ReleaseBinaryBuffer Releases control of thebuffer returned byGetBinaryBuffer
GetMultiByteChars Returns pointer to constmultibyte string, converts if needed
GetMultiByteCharsLength Gets string length (inmultibyte characters)
GetWideChars Returns pointer to constUnicode string, converts if needed
GetWideCharsLength Get string length (inUnicode characters)
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
7.1. struct — Interpret bytes as packed binary
Python help函数
[LeetCode] 158. Read N Characters Given Read4 II - Call multiple times
FFI Semantics  lua jit callback
ASPN : Python Cookbook : Visualize unicode strings
Lex - A Lexical Analyzer Generator
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服