Community Profile

photo

Hanna Dulay


Last seen: 5 months ago Active since 2019

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


I/O string
I'm having a difficulty on replacing the tag with the given replacement word on the given text file for the 3rd subfunction. he...

4 years ago | 0 answers | 0

0

answers

Question


how will I replace a string with another string without using strrep?
function newstring = replace_tags(readstring,tag,replacement); newstring = ""; r_s=lower(readstring); i= strfind(r_s,tag); t...

4 years ago | 2 answers | 0

2

answers

Question


How can I replace the tag with the given replacement without using strrep
Here is my code function [] = () clc;clear readstring = read_form('form.txt'); [tag,replacement] = read_sub_tag(); newstri...

4 years ago | 0 answers | 0

0

answers

Question


How to read a txt and store in a variable using the linefeed/carriage return
function readstring = read_form(textfile) readstring = []; %empty readstring text=fopen(textfile); if text~=-1 while ~ feof(...

4 years ago | 1 answer | 1

1

answer