xxxxxxxxxx
var SymbolaChars,body;
function preload() {
SymbolaChars = loadStrings('Symbola605.txt', getSymbolaGroup);
}
// Finds the string "Symbola" inside the string
function getSymbolaGroup(){
var needle="Symbola".toLowerCase().normalize();
var out="";
var S="";
for(f=0;f<40;f++){
S=SymbolaChars[f].toLowerCase().normalize();
out+="["+int(f)+"] "+S;
out+="<br/>"
n=S.indexOf(needle);
if (n<0) {
out+="does not include '"+needle+"'";
} else {
out+="includes '"+needle+"' at "+n;
}
out+="<br/>";
}
createP(out);
}
function setup() {
}
function draw() {
}