Vowel Finder [SOURCE]

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

TheMystery

Retired Staff
Active Member
Dec 6, 2013
648
364
133
Hey CC Here Is A Simple Code For If You Wanted To Make A Vowel Finder;)

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Vowel_Counter
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
try
{
GetVowel(textBox1.Text);
}
catch
{
MessageBox.Show("Please Enter a string!", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}

private void GetVowel(string voweltext)
{
//Arrange the text into a character array
char[] Arr = voweltext.ToCharArray();
//Start our vowel count
int VowelCount = 0;
//Reset out text strings
textBox2.Text = null;
label2.Text = "Vowels:";

for (int i = 0; i < Arr.Length; i++)
{
switch (Arr[i].ToString().ToLower())
{
case "a":
case "e":
case "i":
case "o":
case "u":
//Input the vowel in textbox2
textBox2.Text += Arr[i].ToString() + "; ";
//Increase the vowel count by one
VowelCount++;
break;
}
}

//Remove the last character of our string
string NewText = textBox2.Text.Substring(0, textBox2.Text.Length - 2);
//Set the new text
textBox2.Text = NewText;
//Update label text to include the number of vowels.
label2.Text += ' ' + VowelCount.ToString();
}
}
}


Enjoy! :)
 

Nostafaru

Moderating the Crunch Bunch.
Retired Staff
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Apr 6, 2014
2,020
1,783
443
General chit-chat
Help Users
  • @ QM|T_JinX:
    ya well the guy in the video said after the twitter post normaly it wont take long befor a release so lets hope a month or maybe 2
  • @ QM|T_JinX:
    i already said it is for the 11.00 so no no online
  • @ QM|T_JinX:
    still no online xploit and if this will release it already taking this long for a 11.00 xploit what is the latest ps4 firmware 11.50 or so
  • @ lurch6661:
    yup
  • @ QM|T_JinX:
    mayb if xploit can run dex kernal it will allow us to go online but like i said i know to little about it so i have no idea
  • @ QM|T_JinX:
    lol but even then i havent seen anything about ids on ps4 so if you get banned its pretty mutch over for that ps4
  • @ lurch6661:
    lol
  • @ lurch6661:
    the world has turned and left me here
  • @ lurch6661:
    good song
  • @ QM|T_JinX:
    xd
  • @ lurch6661:
    unlocked a trophy in battlefield
  • @ QM|T_JinX:
    nice
  • @ QM|T_JinX:
    what rank you on there
  • @ lurch6661:
    i think 9
  • @ lurch6661:
    ya no loose in poker then i play battlefield ha
  • @ QM|T_JinX:
    ok haha yea im on mw3
  • @ QM|T_JinX:
    last match 20 and this match 39 kills
  • @ lurch6661:
    dam good job
  • @ QM|T_JinX:
    now i got over 40 this was a good match for sure
  • Chat Bot:
    Laraycoot is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • @ lurch6661:
    zap
  • Chat Bot:
    Dragotx93 is our newest member. Welcome!
    Chat Bot: Dragotx93 is our newest member. Welcome!