MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codehs/comments/ya5um0/4310_teen_talk/
r/codehs • u/TriggerHappy_Yt • Oct 21 '22
10 comments sorted by
2
What part of this wrong?
1
Why are you using substring when you can use text.charAt(i).
did you ever figure it out? If so can you please provide a photo on how you did it. Thx
0
You can also use a stringbuilder to replace all . And !!
1 u/TriggerHappy_Yt Oct 21 '22 Can you provide an example? 2 u/kka1992 Oct 22 '22 text = text.replace(“!”,”!!”); text = text.replace(“.”, “!!”); 1 u/kka1992 Oct 21 '22 Okay
Can you provide an example?
2 u/kka1992 Oct 22 '22 text = text.replace(“!”,”!!”); text = text.replace(“.”, “!!”); 1 u/kka1992 Oct 21 '22 Okay
text = text.replace(“!”,”!!”); text = text.replace(“.”, “!!”);
Okay
[removed] — view removed comment
1 u/TriggerHappy_Yt Oct 21 '22 edited Oct 21 '22 Thanks,but where did the main body of texts go? 1 u/No_Background_3556 Oct 22 '22 I posted the literal method you posted in the screenshot lmfao
Thanks,but where did the main body of texts go?
1 u/No_Background_3556 Oct 22 '22 I posted the literal method you posted in the screenshot lmfao
I posted the literal method you posted in the screenshot lmfao
2
u/TriggerHappy_Yt Oct 21 '22
What part of this wrong?
1
u/kka1992 Oct 21 '22
Why are you using substring when you can use text.charAt(i).
1
u/StructureAgitated436 Nov 01 '22
did you ever figure it out? If so can you please provide a photo on how you did it. Thx
0
u/kka1992 Oct 21 '22
You can also use a stringbuilder to replace all . And !!
0
u/[deleted] Oct 21 '22
[removed] — view removed comment