vipsi - the friendly vip script interpreter

Instructions

split

List functions: split
Instructions: split
split
<text_var> List functions: split
Instructions: split
split
<text_var>, <separator> List functions: split
Instructions: split
split
<list_var> List functions: split
Instructions: split
split
<list_var>, <separator>

List functions: split
Instructions: split
Split
Flow control: if … then
Flow control: try … then
the
Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
Operators: Make Identifier "@"at Flow control: if … then
Flow control: try … then
the
given Separatorsseparator Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
store Flow control: if … then
Flow control: try … then
the
resulting Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
chunks in Flow control: if … then
Flow control: try … then
the
original Glossary: Variable, var_refvariable. Flow control: if … then
Flow control: try … then
The
Separatorsseparator must be a Glossary: text, text_valtext value Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may be a single character Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
any longer Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
. It is removed Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
preserved when splitting a line.

Flow control: if … thenIf no Separatorsseparator is given, Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
is List functions: split
Instructions: split
split
Operators: Make Identifier "@"at any character which looks like a line break: char(0), char(10), char(13) Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
char(10)+char(13).

Flow control: if … thenIf List functions: split
Instructions: split
split
is passed a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
instead of a Glossary: text, text_valtext value, Flow control: if … then
Flow control: try … then
then
it works on all Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
items. Recursively.

There is also a Vipsi command syntax: Functions
Functions
Glossary: Function
function
List functions: split
Instructions: split
split
which Flow control: returnreturns Flow control: if … then
Flow control: try … then
the
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
fragments.

Instructions: var
How does VScript::Value() work?: Var*&
var
mytext = Text functions: file
Instructions: file
file
"foobär" List functions: split
Instructions: split
split
mytext // into lines List functions: split
Instructions: split
split
mytext, Constants: tabtab // each line Operators: Make Identifier "@"at Constants: tabtabs

Valid HTML   Valid CSS