假定我们拥有一个字符串列表,并且想要知道某个特定的字符串是否包含在那个列表中。
Suppose we have a list of strings and want to see whether a certain string is contained in that list.
每个列表都是一个字符串,它包含针对密匙对和安全组的 HTML 和 元素。
Each list is a string that contains the HTML and elements for the key pairs and security groups.
也就是说,在Vimscript中,printf并不会输出其数据参数列表的格式化后的版本;它会返回一个字符串,其中包含了数据参数列表的格式化后的版本。
That is, in Vimscript, printf doesn't print a formatted version of its list of data arguments; it returns a string containing a formatted version of its list of data arguments.
应用推荐