Let me first say I did search the forum as well as google and could not find exactly what I wanted to know.
What I want to do is say I have the string "Hello World". How would I say use fprintf to just output "World", or even "ello Wor" to the file I am writing to?
Also is there a way to compare parts of a string such as if I have two strings in an array like "Hello World" "Hello Earth" and I only wanted to fprintf the strings that ended with "Earth". Thank you.