string manipulation

How to get a SubString of a String in Java

This is a tutorial in which we are going to create a program that gets substring of a string in java. We all know that a substring is a part of a sentence or a string. Java String class provides substring method with some overloaded parameter. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of 2. Import java.lang package because in this library, substring class is there.

Get Youtube Video Thumbnails using VB 2008

This sample program demonstrates how to get youtube video thumbnails using VB 2008. Just enter the video URL at the textbox then using simple string manipulation, the program extracts the video id from the URL. The video id is the unique identifier of the video generated by youtube when the video was uploaded. This video id is necessary for retrieving the thumbnails for the videos.