Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


Visual Basic Programming Code Examples

Visual Basic > Strings Code Examples

String Triming Functions





C Program Check If a String is Palindrome - Check if string is a 'Palindrome' without using the "Built-In function". "Take a string" as input & store it in the array 'string[]'. Then store the same string into the another array 'reverse_s'

C++ Coding Generating Random Numbers - Following C++ program generate 100 random numbers using rand() function of stdlib.h. To generate random numbers in C++, we use the function rand() to generate and print random

Printf Funtion Display Message by Format - Hexadecimal, character, scientific notation (lowercase e), scientific notation (uppercase e), string of characters, unsigned decimal integers. decimal floating point, displays a

Convert Decimal number to Octal Number - Accept the given decimal number. If number is less than 8 the octal number is the same. If the number > 7 then Divide the number with 8. Write down the remainder. Do steps 3 and

Returns Nonzero if ch is White-Space Char - C program Returns nonzero if ch is a white-space character, including space, horizontal tab, vertical tab, formfeed, carriage return, or newline character; otherwise zero is return.

Use Ternary Operator (?:) C Programming - The first expression conditionalExpression is evaluated first. This expression evaluates to 1 if it's true and evaluates to 0 if it's false. If the conditionalExpression is true, expression1 is

Write Hello World Program C++ language - #include: This statements tells the compiler to include iostream file. This file contains pre defined "input/output functions" that we can use in our program. Comments as the names

Code Display the IP Address of the System - Create a socket to define network interface IPv4. Define the IPv4 address type. Define the port name where network is attached. Access the network interface information...