ViM: how to put string from input dialog in a list -


VIM: Do anyone know how to insert the string from the input dialog in the list?

P:

string "3,5,12,15"

  list item [1] = 3 list item [ 2] = 5 list item [3] = 12 etc.   

And how do I know how many list items are there?

to : h E714

  : Let L = len (list) "Number of items in the list: list = split (" ABC ")" list item in string "  

In your case, / P>

  two string = "3,5,7,19" given list = partition (string, ",") echo (list)    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -