functionStringToMatrix

Provides unbound methods (no error checking) to parse a string into a float or int matrix.
to_matrix_float(str, interval_sep, start_tk, end_tk)
Parse a string into a float matrix.
Parameters:
str: , string, the formated string to parse.
interval_sep: , string, cell interval separator token.
start_tk: , string, row start token.
end_tk: , string, row end token.
Returns: matrix<float>, parsed float matrix.
to_matrix_int(str, interval_sep, start_tk, end_tk)
Parse a string into a int matrix.
Parameters:
str: , string, the formated string to parse.
interval_sep: , string, cell interval separator token.
start_tk: , string, row start token.
end_tk: , string, row end token.
Returns: matrix<int>, parsed int matrix.
Added:
to_matrix_string(str, interval_sep, start_tk, end_tk)
Parse a string into a string matrix.
Parameters:
str: , string, the formated string to parse.
interval_sep: , string, cell interval separator token.
start_tk: , string, row start token.
end_tk: , string, row end token.
Returns: matrix<string>, parsed string matrix.
Pine Bibliothek
Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.
Haftungsausschluss
Pine Bibliothek
Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.