|
Contents | Previous | Next | Subchapters |
| Syntax |
file2str(file) |
file2str(file, oldString, newString) | |
| See Also | fullpath , exists , strreplace , ischarvector , read , pack |
Hello
World
and you enter
f = file2str("test.txt")
O-Matrix will create the character row vector f which contains Hello
followed by CRLF, followed by World.
If you continue the example by entering
file2str("test.txt", "World", "Earth")
O-Matrix will respond
Hello
Earth