TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
John Riker
NA
85
16.1k
Can you populate a $variable$ within a string?
Dec 12 2020 10:16 AM
I have what I'll call a template I pull out of some XML that shows the format the remote files are stored. So for example:
https://<url>/whatever/file$number$.mp4
So I have this in a string. I also know that the $number$ starts with 1 and ends with 300. So if I do a loop to retrieve all the files do I need to strip it down to say
https://<url>/whatever/file
Then as part of the loop apend the number and the .mp4? Or can you automatically replace $number$ within the existing string with each number as you loop thru?
Thanks.
JR
Reply
Answers (
5
)
Configure swagger in asp.net core web api.
How to check particular radiobutton based on database value