#how to incorporate bool into string
11 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
@teal swan can you send an example
if input was "Hello!" it should be "ello-Hay!" but I so far I get "ello!-Hay" or if input is "hello !" it should be "ello-hay!" but I get "ello-hay"
How about splitting your string by whitespace characters so you have a vector of words
then converting each word to pig latin is easy, and the punctuation is easy too
Or does pigLatinString already work on a single word at a time
If it does, there are a few ways to ignore the punctuation at the end of a word
yes it works on a single word at a time.
I will have to do a string of words as well but for this part its just a single word
This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.