Lines Matching refs:String

58 String		A NUL terminated string of 8-bit unsigned characters (bytes).
87 The Number and String types are converted automatically, depending on how they
90 Conversion from a Number to a String is by making the ASCII representation of
92 Number 123 --> String "123" ~
93 Number 0 --> String "0" ~
94 Number -1 --> String "-1" ~
96 Conversion from a String to a Number only happens in legacy Vim script, not in
102 If the String doesn't start with digits, the result is zero.
104 String "456" --> Number 456 ~
105 String "6bar" --> Number 6 ~
106 String "foo" --> Number 0 ~
107 String "0xf1" --> Number 241 ~
108 String "0100" --> Number 64 ~
109 String "0o100" --> Number 64 ~
110 String "0b101" --> Number 5 ~
111 String "-8" --> Number -8 ~
112 String "+8" --> Number 0 ~
114 To force conversion from String to Number, add zero to it: >
160 non-empty String, then the value is considered to be TRUE.
162 A List, Dictionary or Float is not a Number or String, thus evaluate to FALSE.
171 there is no automatic conversion of Float. You can use str2float() for String
172 to Float, printf() for Float to String and float2nr() for Float to Number.
424 :call add(list, "new") " append String item
441 The |:for| loop executes commands for each item in a List, String or Blob.
477 For a String one character, including any composing characters, is used as a
478 String. Example: >
498 :let s = string(list) " String representation of list
521 A key is always a String. You can use a Number, it will be converted to a
522 String automatically. Thus the String '4' and the number 4 will find the same
523 entry. Note that the String '04' and the Number 04 are different, since the
524 Number will be converted to the String '4'. The empty string can also be used
673 :let s = string(dict) " String representation of dict
881 expr8[expr1] byte of a String or item of a |List|
882 expr8[expr1 : expr1] substring of a String or sublist of a |List|
1067 When comparing a String with a Number, the String is converted to a Number,
1105 expr6 . expr6 String concatenation *expr-.*
1106 expr6 .. expr6 String concatenation *expr-..*
1111 For String concatenation ".." is preferred, since "." is ambiguous, it is also
1130 That works, since the String "190" is automatically converted to the Number
1136 attempts to concatenate a Float and a String.
1166 A String will be converted to a Number first.
1184 expr8[expr1] item of String or |List| *expr-[]* *E111*
1187 If expr8 is a Number or String this results in a String that contains the
1188 expr1'th single byte from expr8. expr8 is used as a String (a number is
1189 automatically converted to a String), expr1 as a Number. This doesn't
1196 If expr8 is a String this results in a String that contains the expr1'th
1203 If the length of the String is less than the index, the result is an empty
1204 String. A negative index always results in an empty string (reason: backward
1220 If expr8 is a String this results in the substring with the bytes or
1221 characters from expr1a to and including expr1b. expr8 is used as a String,
1226 a Number it is first converted to a String.
1253 the indexes expr1a and expr1b. This works like with a String, as explained
1291 Note that the dot is also used for String concatenation. To avoid confusion
1292 always put spaces around the dot for String concatenation.
1401 string *string* *String* *expr-string* *E114*
1502 The String value of any environment variable. When it is not defined, the
2128 v:none An empty String. Used to put an empty item in JSON. See
2140 v:null An empty String. Used to put "null" in JSON. See
2168 than String this will cause trouble.
2259 v:scrollstart String describing the script or function that caused the
2354 v:t_string Value of |String| type. Read-only. See: |type()|
2494 argv({nr} [, {winid}]) String {nr} entry of the argument list
2521 balloon_gettext() String current text in the balloon
2526 String put up a file requester
2527 browsedir({title}, {initdir}) String put up a directory requester
2533 bufname([{buf}]) String Name of the buffer {buf}
2552 ch_info({handle}) String info about channel {handle}
2557 ch_read({handle} [, {options}]) String read from {handle}
2561 String read raw from {handle}
2569 String status of channel {handle}
2576 chdir({dir}) String change current working directory
2604 digraph_get({chars}) String get the |digraph| of {chars}
2611 escape({string}, {chars}) String escape {chars} in {string} with '\'
2615 execute({command}) String execute {command} and get the output
2616 exepath({expr}) String full path of the command {expr}
2622 expandcmd({expr}) String expand {expr} like with `:edit`
2634 String find directory {name} in {path}
2636 String find file {name} in {path}
2643 fnameescape({fname}) String escape special characters in {fname}
2644 fnamemodify({fname}, {mods}) String modify file name
2648 foldtext() String line displayed for closed fold
2649 foldtextresult({lnum}) String text for closed fold at {lnum}
2651 fullcommand({name}) String get full command from {name}
2666 getchar([expr]) Number or String
2671 getcharstr([expr]) String get one character from the user
2672 getcmdline() String return the current command-line
2674 getcmdtype() String return current command-line type
2675 getcmdwintype() String return current command-line window type
2680 getcwd([{winnr} [, {tabnr}]]) String get the current working directory
2681 getenv({name}) String return environment variable
2682 getfontname([{name}]) String name of font being used
2683 getfperm({fname}) String file permissions of file {fname}
2686 getftype({fname}) String description of type of file {fname}
2690 getline({lnum}) String line {lnum} of current buffer
2702 String or List contents of a register
2704 getregtype([{regname}]) String type of a register
2711 gettext({text}) String lookup translation of {text}
2720 glob2regpat({expr}) String convert a glob pat into a search pat
2722 String do glob({expr}) for all dirs in {path}
2732 histget({history} [, {index}]) String get the item {index} from a history
2738 hostname() String name of the machine Vim is running on
2739 iconv({expr}, {from}, {to}) String convert encoding of {expr}
2744 String get input from the user
2746 String like input() but in a GUI dialog
2750 inputsecret({prompt} [, {text}]) String like input() but hiding the text
2765 job_status({job}) String get the status of {job}
2767 join({list} [, {sep}]) String join {list} items into one String
2769 js_encode({expr}) String encode JS style JSON
2771 json_encode({expr}) String encode JSON
2774 libcall({lib}, {func}, {arg}) String call {func} in library {lib} with {arg}
2780 list2str({list} [, {utf8}]) String turn {list} of numbers into a String
2791 String or Dict
2794 String check for mappings matching {name}
2815 String {count}'th match of {pat} in {expr}
2823 mode([expr]) String current editing mode
2826 nr2char({expr} [, {utf8}]) String single char with ASCII/UTF-8 value {expr}
2828 pathshorten({expr} [, {len}]) String shorten directory names in a path
2855 printf({fmt}, {expr1}...) String format text
2856 prompt_getprompt({buf}) String get prompt text
2895 reg_executing() String get the executing register name
2896 reg_recording() String get the recording register name
2899 reltimestr({time}) String turn time value into a String
2901 String send expression
2906 String read reply string
2908 String send key sequence
2916 repeat({expr}, {count}) String repeat {expr} {count} times
2917 resolve({filename}) String get filename a shortcut points to
2927 screenstring({row}, {col}) String characters at screen position
2941 serverlist() String get a list of available servers
2972 sha256({string}) String SHA256 checksum of {string}
2974 String escape {string} for use as shell
2992 simplify({filename}) String simplify filename as much as possible
2995 slice({expr}, {start} [, {end}]) String, List or Blob
2996 slice of a String, List or Blob
3005 soundfold({word}) String sound-fold {word}
3006 spellbadword() String badly spelled word at cursor
3013 state([{what}]) String current state of Vim
3014 str2float({expr} [, {quoted}]) Float convert String to Float
3018 Number convert String to Number
3019 strcharlen({expr}) Number character length of the String {expr}
3021 String {len} characters of {str} at
3023 strchars({expr} [, {skipcc}]) Number character count of the String {expr}
3024 strdisplaywidth({expr} [, {col}]) Number display length of the String {expr}
3025 strftime({format} [, {time}]) String format time with a specified format
3029 string({expr}) String String representation of {expr} value
3030 strlen({expr}) Number length of the String {expr}
3032 String {len} bytes/chars of {str} at
3038 strtrans({expr}) String translate string to make it printable
3039 strwidth({expr}) Number display cell length of the String {expr}
3040 submatch({nr} [, {list}]) String or List
3043 String all {pat} in {expr} replaced with {sub}
3045 swapname({buf}) String swap file of buffer {buf}
3048 String attribute {what} of syntax ID {synID}
3052 system({expr} [, {input}]) String output of shell command/filter {expr}
3061 tempname() String name for a temporary file
3073 term_getline({buf}, {row}) String get a line of text from a terminal
3076 term_getstatus({buf}) String get the status of a terminal
3077 term_gettitle({buf}) String get the title of a terminal
3078 term_gettty({buf}, [{input}]) String get the tty name of a terminal
3111 test_null_string() String null value for testing
3128 tolower({expr}) String the String {expr} switched to lowercase
3129 toupper({expr}) String the String {expr} switched to uppercase
3130 tr({src}, {fromstr}, {tostr}) String translate chars of {src} in {fromstr}
3133 String trim characters in {mask} from {text}
3136 typename({expr}) String representation of the type of {expr}
3137 undofile({name}) String undo file name for {name}
3143 visualmode([expr]) String last visual mode used
3146 String execute {command} in window {id}
3149 win_gettype([{nr}]) String type of window {nr}
3158 windowsversion() String MS-Windows OS version
3163 winrestcmd() String returns command to restore window sizes
3237 Any type of item is accepted and converted to a String.
3404 Split String {msg} into lines to be displayed in a balloon.
3451 Add a buffer to the buffer list with String {name}.
3526 If {buf} is a String, it is used as a |file-pattern| to match
3539 If the {buf} is a String, but you want to use it as a buffer
3623 Return byte index of the {nr}'th character in the String
3784 {dir} must be a String.
3986 {msg} is a String, use '\n' to include a newline. Only on
3989 {choices} is a String, with the individual choices separated
4004 The optional {type} String argument gives the type of dialog.
4078 in |String|, |List| or |Dictionary| {comp}.
4399 - A |String| is empty when its length is zero.
4653 Otherwise the result is a String and when there are several
4671 <abuf> autocmd buffer number (as a String!)
4740 Expand special items in String {string} like what is done for
4818 {mode} is a String, which can contain these character flags:
4855 expression, which is used as a String.
5126 foldtext() Returns a String, to be displayed for a closed fold. This is
5481 result is a number. Use nr2char() to convert it to a String.
5482 Otherwise a String is returned with the encoded character.
5483 For a special key it's a String with a sequence of bytes
5485 the String "\<Key>", e.g., "\<Left>". The returned value is
5486 also a String when a modifier (shift, control, alt) was used
5495 Use nr2char() to convert it to a String.
5568 Get the position for String {expr}. Same as |getpos()| but the
5656 Return a list of command-line completion matches. The String
5759 The result is a String, which is the name of the current
5811 With an argument a check is done whether String {name} is a
5822 The result is a String, which is the read, write, and execute
5863 The result is a String, which is a description of the kind of
5915 Without {end} the result is a String, which is line {lnum}
5918 < When {lnum} is a String that doesn't start with a
5919 digit, |line()| is called to translate the String into a Number.
6052 getpos({expr}) Get the position for String {expr}. For possible values of
6183 The result is a String, which is the contents of register
6239 The result is a String, which is type of register {regname}.
6345 Translate String {text} if possible.
6455 Otherwise the result is a String and when there are several
6458 If the expansion fails, the result is an empty String or List.
6497 Perform glob() for String {expr} on all directories in {path}
6518 the result is a String and when there are several matches,
6643 Add the String {item} to the history {history} which can be
6671 If the parameter {item} evaluates to a String, it is used as a
6703 The result is a String, the entry with Number {index} from
6706 no such entry, an empty String is returned. When {index} is
6860 The result is a String, which is the name of the machine on
6865 The result is a String, which is the text {string} converted
6899 conversion, so the String "4" is different from the Number 4.
6919 The result is a String, which is whatever the user typed on
7024 The result is a String, which is whatever the user actually
7075 is any expression, which is used as a String.
7138 Join the items in {list} together into one String.
7144 < String items are used as-is. |Lists| and |Dictionaries| are
7224 |String| in double quotes (possibly null)
7251 When {expr} is a String or a Number the length in bytes is
7271 The result is the String returned by the function. If the
7624 {name} in mode {mode}. The returned String has special
7628 When there is no mapping for {name}, an empty String is
7707 String is returned. If there is one, the RHS of that mapping
7751 String, |Lists| and |Dictionaries| are used as echoed.
7753 Otherwise, {expr} is used as a String. The result is a
7774 {start} in a String or item {start} in a |List|.
7783 For a String, if {start} > 0 then it is like the string starts
7788 For a String, if {start} < 0, it will be set to 0. For a list
7791 String or {start} > len({expr}) for a |List|) -1 is returned.
7794 is found in a String the search for the next one starts one
8064 The type isn't changed, it's not necessarily a String.
8085 The type isn't changed, it's not necessarily a String.
8227 a non-empty String (|non-zero-arg|), then the full mode is
8411 Return a String with {fmt}, where "%" items are replaced by
8551 s The text of the String argument is used. If a
8554 If the argument is not a String type, it is
8558 S The text of the String argument is used. If a
8596 When a Number argument is expected a String argument is also
8598 When a Float or String argument is expected a Number argument
9015 Return a String that represents the time value of {time}.
9039 The result must be a String or a |List|. A |List| is turned
9040 into a String by joining the items with a line break in
9349 The result is a String that contains the base character and
9351 This is like |screenchars()| but returning a String with the
9354 Returns an empty String when row or col is out of range.
9368 {flags} is a String, which can contain these character flags:
9560 pattern |String| recompute if this was given
9938 converted to a String.
9993 Set the position for String {expr}. Possible values:
10301 Returns a String with 64 hex characters, which is the SHA256
10322 Number or a non-empty String (|non-zero-arg|), then special
10735 Convert String {string} to a Float. This mostly works the
10758 each character in String {string}. Examples: >
10764 When {utf8} is TRUE, always treat the String as UTF-8
10781 with the default String to Number conversion. Example: >
10796 in String {string}. Composing characters are ignored.
10825 in String {string}.
10854 String {string} occupies on the screen when it starts at {col}
10869 The result is a String, which is a formatted date and time, as
10901 {haystack} of the first occurrence of the String {needle}.
10922 string({expr}) Return {expr} converted to a String. If {expr} is a Number,
10923 Float, String, Blob or a composition of them, then the result
10926 String 'string' (single quotes are doubled)
10945 The result is a Number, which is the length of the String
10947 If the argument is a Number it is first converted to a String.
10957 The result is a String, which is part of {src}, starting from
11014 {haystack} of the last occurrence of the String {needle}.
11034 The result is a String, which is {string} with all unprintable
11046 String {string} occupies. A Tab character is counted as one
11085 The result is a String, which is a copy of {string}, in which
11185 The result is a String, which is the {what} attribute of
11280 Get the output of the shell command {expr} as a |String|. See
11283 When {input} is given and is a |String| this string is written
11311 The result is a String. Example: >
11490 The result is a String, which is the name of a file that
11574 String, then the timer is paused, otherwise it is unpaused.
11639 The result is a copy of the String given, with all uppercase
11647 The result is a copy of the String given, with all lowercase
11672 Return {text} as a String where any character in {mask} is
11723 String: 1 |v:t_string|
11875 The result is a String, which describes the last Visual mode
11889 a non-empty String, then the Visual mode will be cleared and
12045 The result is a String. For MS-Windows it indicates the OS
12231 item is separated with a NL. Each list item must be a String
12527 Matching a pattern in a String
12530 the buffer lines. When a pattern is used to find a match in a String, almost
12531 everything works in the same way. The difference is that a String is handled
12543 Don't forget that "^" will only match at the first character of the String and
13036 This cannot be used to set a byte in a String. You
13070 the expression {expr1}. The type is always String.
13102 expression {expr1}. A String or Number value is
13252 <nothing> String
13649 String, string() is used to turn it into a string.
13941 : echo "String thrown"
13948 The first call to Foo() displays "Number thrown", the second "String thrown".
13954 : echo "String thrown"
14859 < String concatenation with "." is not supported, use ".." instead.