|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--CSV
Defined in core.js
Constructor Summary | |
CSV
()
|
Method Summary | |
<static> Object
|
_re(v, f)
|
<static> Object
|
append(s, v)
Appends a value to an existing CSV string. |
<static> Object
|
contains(s, v)
Test if a CSV string contains a value. |
<static> Object
|
count(s)
Count number of values in CSV string. |
<static> Object
|
escape(v)
Escapes a CVS string value. |
<static> Object
|
prepend(s, v)
Prepends (inserts at front) a value to an existing CSV string. |
<static> Object
|
remove(s, v, all)
Removes a value from a CSV string. |
<static> Object
|
toArray(s)
Converts a CSV string to an array. |
<static> Object
|
toString(a)
Converts an array to a CSV string. |
<static> Object
|
unescape(v)
Unescapes a CVS string value. |
Constructor Detail |
CSV()
Method Detail |
<static> Object _re(v, f)
<static> Object append(s, v)
s
- CSV string.
v
- Un-escaped string value to append.
<static> Object contains(s, v)
s
- CSV string.
v
- Un-escaped string value for which to search.
<static> Object count(s)
s
- CSV string.
<static> Object escape(v)
v
- Un-escaped string value.
<static> Object prepend(s, v)
s
- CSV string.
v
- Un-escaped string value to append.
<static> Object remove(s, v, all)
s
- CSV string.
v
- Un-escaped string value to remove.
all
- (optional) True to remove all occurences of v, false (default) to remove only the first.
<static> Object toArray(s)
s
- CSV string.
<static> Object toString(a)
a
- Array.
<static> Object unescape(v)
v
- Escaped string value.
|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |