19. 関数
function update_tu(){
var input = document.getElementById(quot;tu_inputquot;);
var output = document.getElementById(quot;tu_outputquot;);
var text_in = input.value;
var text_out = quot;quot;;
var i=0;
for (i = 0; i < text_in.length; i++) {
if( text_in.charAt(i).match(/っ|ッ/) == null ){
text_out += text_in.charAt(i);
}
}
output.value = text_out;
}