以下成员源于类 QAnyStringView 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
| 
(since 6.5, deprecated)
								QAnyStringView | left (qsizetype n ) const | 
| 
(since 6.5, deprecated)
								QAnyStringView | mid (qsizetype pos , qsizetype n = -1) const | 
| 
(since 6.5, deprecated)
								QAnyStringView | right (qsizetype n ) const | 
[constexpr, since 6.5, deprecated]
						
						
							QAnyStringView
						
						QAnyStringView::
						
							left
						
						(
						
							qsizetype
						
						
							n
						
						) const
						
					This function is deprecated. We strongly advise against using it in new code.
使用 first () 取而代之在新代码中。
返回子字符串长度 n starting at position 0 in this object.
The entire string view is returned if n >= size (),或小于 0。
该函数在 Qt 6.5 引入。
另请参阅 first (), last (), sliced (), chopped (), chop (), truncate (),和 大小和子字符串 .
[constexpr, since 6.5, deprecated]
						
						
							QAnyStringView
						
						QAnyStringView::
						
							mid
						
						(
						
							qsizetype
						
						
							pos
						
						,
						
							qsizetype
						
						
							n
						
						= -1) const
						
					This function is deprecated. We strongly advise against using it in new code.
返回子字符串长度 n 起始于位置 pos 在此对象。
使用 sliced () 取而代之在新代码中。
Returns an empty string view if n exceeds the length of the string view. If there are less than n code points available in the string view starting at pos ,或者若 n is negative (default), the function returns all code points that are available from pos .
该函数在 Qt 6.5 引入。
另请参阅 first (), last (), sliced (), chopped (), chop (), truncate (),和 大小和子字符串 .
[constexpr, since 6.5, deprecated]
						
						
							QAnyStringView
						
						QAnyStringView::
						
							right
						
						(
						
							qsizetype
						
						
							n
						
						) const
						
					This function is deprecated. We strongly advise against using it in new code.
使用 last () 取而代之在新代码中。
返回子字符串长度 n 起始于位置 size () - n 在此对象。
The entire string view is returned if n >= size (),或小于 0。
该函数在 Qt 6.5 引入。
另请参阅 first (), last (), sliced (), chopped (), chop (), truncate (),和 大小和子字符串 .