Problem 2 -Saturday Tutorial - Java Removing every nth characters from Strings

preview_player
Показать описание


Objective
write a method that takes two parameters, a non empty string s and an int n and return the string made starting with char 0 and then every nth char of the string. So if N is 3 use char 0, 3,6 and
so on, N is 1 or more------ example eneryNth "miracle", 2 - "Mrce

JAVA
JAVA TUTORIAL
JAVA PROGRAMMING
JAVA METHODS
JAVA FOR LOOP
JAVA IF THEN ELSE STATEMENTS
JAVA DATA TYPES
JAVA FOR BEGINNERS
INTEGER STRING CHARACTER
REMOVING CHARACTERS FROM STRINGS
Рекомендации по теме
Комментарии
Автор

I need to do this but without using charAt

samanthaceralde