by Joy Rain July 31, 2023
Get the Soulstring mug.by Camelle Wortcord May 23, 2021
Get the Soulcringes mug.Related Words
Java stuff. When you want to derivate a String from a String you already have, lets say you want to get "burger" out of "hamburger" you apply. stringName.substring(3), this is the same as having "burger" since it will take "hamburger" and from the position in 3 (programming uses 0 as the first position), it will display the rest of the String.
If you want from certain position to another, lets say "mistaken" and you just want "stake", you will need to apply: stringName.substring(2,6), this will give you "stake".
If you want from certain position to another, lets say "mistaken" and you just want "stake", you will need to apply: stringName.substring(2,6), this will give you "stake".
public int resultado(String buscado, String origen) {
int cont = 0;
int lng=buscado.length();
for(int i=0;i<=(origen.length()-lng);i++){
if ( buscado.equals (origen.substring(i,(i+lng) ) ) )
cont++;
}
/** AQUI DEBES DE CODIFICAR PARA CONTAR CUANTAS VECES BUSCADO ESTA EN ORIGEN */
return cont;
}
int cont = 0;
int lng=buscado.length();
for(int i=0;i<=(origen.length()-lng);i++){
if ( buscado.equals (origen.substring(i,(i+lng) ) ) )
cont++;
}
/** AQUI DEBES DE CODIFICAR PARA CONTAR CUANTAS VECES BUSCADO ESTA EN ORIGEN */
return cont;
}
by h3ct0r January 29, 2008
Get the substring mug.A Fagex.net user that has accumulated over 2k posts, and is very active, and cool. He is the biggest threat to chuck norris, since jet li.
by Some Fat guy, in a little coat July 11, 2009
Get the SoulStrike mug.The act of inserting a teabag attached to very long string into someone’s asshole until it reaches their stomach, then slowly pulling out the teabag, which will have absorbed a lot of the person’s inner colon and will have a foul grey-ish yellow texture similar to your mother’s homemade soup or grits.
by MyMother’sMiddleNameIsGary June 20, 2021
Get the Soupstring mug.