Computer Learning Centre

The search of knowledge is the path to paradise.

Pages

  • Home
  • Learn C++
  • Learn HTML
  • Learn Unix
  • Learn VB
  • I/O Device
  • Generations
  • Contact
  • Learn C#
  • ASP.NET
  • Network Topology
  • C Programs
  • Download Open Source

Java String - Programming Examples

1. How to compare two strings in Java ?

2. How to search the last position of a substring ?

3. How to remove a particular character from a string ?

4. How to replace a substring inside a string by another one ?

5. How to reverse a String?

6. How to search a word inside a string ?

7. How to convert a string totally into upper case?

8. How to optimize string concatenation ?
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Popular Posts

  • Primary Memory : RAM / ROM
  • Components of a Computer
  • Input Device: Digitizer
  • Other System Programs: Linker, Loader, Assembler, Text Editor, Compiler
  • Operating System as a Resource Manager
  • Communication Media : Optical Fibre
  • Architechture of a Hypothetical Computer
  • Third-Generation Computers (1964 - 1971)
  • Characteristics of Computers
  • Output Devices : VDU (Visual Display Unit)

Labels

  • ? (1)
  • .cshrc file (1)
  • .jar (1)
  • .NET Framework (1)
  • * (1)
  • 2015 (1)
  • 2016 (1)
  • 3D Printing (1)
  • abs (1)
  • Accumulator (1)
  • Add (1)
  • Add Two Numbers (1)
  • Addition (1)
  • address (1)
  • Adobe (1)
  • Algorithms (3)
  • ALIGN (1)
  • Alink (1)
  • ALU (3)
  • Analog (2)
  • Analogue (1)
  • Anatomy (1)
  • AND (2)
  • Antivirus (1)
  • Apple (1)
  • application (3)
  • Application Software (1)
  • Applications of E-Commerce (1)
  • Applications of M-Commerce (1)
  • Apropos (1)
  • Archive (1)
  • Arguments (1)
  • Arithmetic coding (1)
  • Armstrong Number (1)
  • Arrays (4)
  • Artificial (1)
  • ASP.NET (9)
  • Assembler (1)
  • Assemblies (1)
  • Assembly Language (1)
  • Assigning (1)
  • atoi (1)
  • atol (1)
  • Attributes (1)
  • Audio (1)
  • B (1)
  • B2B (1)
  • B2C (1)
  • Background (1)
  • Backup (2)
  • Base (1)
  • Basic (4)
  • Baud (1)
  • Beginners (1)
  • Benefits (1)
  • Best (1)
  • bgcolor (1)
  • Binary (1)
  • Binary Values (1)
  • Bit (1)
  • BLINK (1)
  • Block Diagram (3)
  • BODY (1)
  • Boolean Algebra (4)
  • BORDER (1)
  • Brain (1)
  • Break (2)
  • Browser (1)
  • Buffering (1)
  • Built-in (1)
  • Burrows-Wheeler transform (1)
  • Bus (1)
  • Business (1)
  • Buzzword (1)
  • C (1)
  • C program (17)
  • C# (11)
  • C++ (38)
  • C++ Tokens (1)
  • C2B (1)
  • C2C (1)
  • Cache Memory (1)
  • Calling (1)
  • CAPTION (1)
  • Car Keys Hyundai (1)
  • Career (1)
  • cd (2)
  • CDC 3600 (1)
  • Central Processor (1)
  • Chain Printer (1)
  • Character Functions (2)
  • Character Set (1)
  • Characteristics (4)
  • class (6)
  • Classes (5)
  • Classpath (5)
  • clear (1)
  • Client-Side Scripting (2)
  • Cloud Computing (2)
  • Cloud Robotics (1)
  • Coaxial Cables (1)
  • Code-Behind Page Model (1)
  • Color (2)
  • Commands (5)
  • Communication (9)
  • Compact Disk (1)
  • Compare (1)
  • Compiler (3)
  • Component (3)
  • Compression (2)
  • Computer (25)
  • Computer Abbreviations (1)
  • concatenation (1)
  • Configuration (1)
  • Constants (2)
  • Constructors (3)
  • continue (1)
  • Control Statements (5)
  • Control Unit (3)
  • Controls (1)
  • Conversion (2)
  • convert (1)
  • Coordinates (1)
  • Copy Constructors (1)
  • cos (1)
  • Counter (1)
  • cp (1)
  • CPU (1)
  • Cryptography (1)
  • CU (1)
  • Custom Controls (1)
  • Daisy-Wheel (1)
  • Data (4)
  • Data Architect (1)
  • Data Compression (5)
  • Data Models (1)
  • Data Types (3)
  • Database (1)
  • Database Professionals (1)
  • Date (1)
  • DBA (1)
  • DBMS (1)
  • Declaration (1)
  • default (1)
  • Definition (1)
  • delete (1)
  • destination (1)
  • destructors (2)
  • Device (11)
  • Dictionary Coder (1)
  • Digital (2)
  • Digital Certificate (1)
  • Digital Watermarking (1)
  • Digitizer (1)
  • DIMM (1)
  • directories (3)
  • Division (1)
  • do-while (1)
  • Docly (1)
  • Dot-Matrix (1)
  • Download (1)
  • DPF (1)
  • DRAM (1)
  • Drum Printer (1)
  • DVD (1)
  • E-commerce (4)
  • echo (1)
  • EDSAC (1)
  • EDVAC (1)
  • EEPROM (1)
  • Electronic Newspaper (1)
  • Elements (3)
  • else (1)
  • ENIAC (1)
  • Entropy encoding (1)
  • Environment (1)
  • EO (1)
  • EPROM (1)
  • Even (1)
  • Events (1)
  • Evolution (1)
  • Example (3)
  • Examples (1)
  • Exit (1)
  • Expressions (6)
  • Extensible Markup Language (1)
  • fabs (1)
  • FACE (1)
  • Factorial (1)
  • Features (1)
  • Fibonacci series (1)
  • Fibre Optical Cables (1)
  • Fields (1)
  • Fifth (1)
  • files (7)
  • Firewall (1)
  • First (1)
  • Floppy (1)
  • Flowchart (1)
  • fmod (1)
  • for (1)
  • Formatting (2)
  • Fourth (1)
  • frexp (1)
  • Functions (12)
  • Gates (1)
  • Generation (5)
  • getchar (1)
  • GIF (1)
  • Glide Write (1)
  • Gmail (1)
  • Google Apps (1)
  • Google Docs (1)
  • Google Glass (1)
  • Goto (1)
  • grep (1)
  • Ground Wave (1)
  • Hacked (1)
  • Hard Disk (1)
  • Hardware (2)
  • HCF (1)
  • head (1)
  • header (1)
  • Header Files (1)
  • Hello World (1)
  • history (1)
  • Hoffman coding (1)
  • hosting (1)
  • HP (1)
  • HTML (10)
  • Huffman coding (1)
  • Hybrid (1)
  • Hyperlink (2)
  • I (1)
  • I/O (1)
  • IBG (1)
  • IBM 1401 (1)
  • IBM 1620 (1)
  • IBM-PC (1)
  • IC (1)
  • IDE (2)
  • if (2)
  • Imaage (1)
  • Image (2)
  • Index (1)
  • Indexers (1)
  • iNetWord (1)
  • Information (1)
  • Information Models (1)
  • Inheritance (3)
  • Initializing (1)
  • Inkjet (1)
  • Input (7)
  • Input Unit (1)
  • Insert (1)
  • Instance (1)
  • Instruction Cycle (1)
  • integer (1)
  • Intelligence (1)
  • Internet (2)
  • Internet Bookshops (1)
  • Internet Security (1)
  • Introduction (5)
  • Ionspheric (1)
  • IR (1)
  • IRG (1)
  • isalnum (1)
  • isalpha (1)
  • isdigit (1)
  • islower (1)
  • isupper (1)
  • Iteration (3)
  • itoa (1)
  • Java (21)
  • JavaScript (1)
  • Joystick (1)
  • JPG (1)
  • Keyboard (1)
  • L-Commerce (1)
  • LAN (1)
  • Language (6)
  • Laptops (1)
  • Laser (1)
  • LCM (1)
  • Leap Year (1)
  • Learn (1)
  • Learning (20)
  • Legal Issues (1)
  • less (1)
  • Library (2)
  • Light Pen (1)
  • Limitations (1)
  • Link (1)
  • Linker (1)
  • Lists (1)
  • Literals (1)
  • Loader (1)
  • log (1)
  • log10 (1)
  • Logic Gates (1)
  • Logical (3)
  • loop (4)
  • LOS (1)
  • Lossless (1)
  • Lossy (1)
  • ls (1)
  • ltoa (1)
  • M-Commerce (5)
  • Machine Language (1)
  • Machintosh (1)
  • Magnetic Tape (1)
  • Mail (1)
  • Mailto (1)
  • man (2)
  • Management (2)
  • Mapping (1)
  • MARQUEE (1)
  • Math (1)
  • Maxterm (1)
  • Media (5)
  • member (1)
  • members (1)
  • Memory (4)
  • Memory Management (1)
  • Memtransister (1)
  • Menu (3)
  • Mesh (1)
  • Methods (1)
  • Microprocessor (1)
  • Microsoft (3)
  • Microsoft's Glasses (1)
  • Microwave (1)
  • Minterm (1)
  • mkdir (1)
  • Mobile Application Development (1)
  • Models (1)
  • modf (1)
  • Modulus Operator (1)
  • Motherboard (1)
  • Mouse (1)
  • MPS (1)
  • MSP (1)
  • Multidimensional (1)
  • multiple (1)
  • Multiplication (1)
  • mv (1)
  • Namespace (1)
  • NAND (1)
  • nedit (1)
  • Net Banking (1)
  • Networking (7)
  • new (1)
  • NOT (2)
  • Objects (5)
  • Odd (1)
  • Online Auctions (1)
  • Online Billing (1)
  • Open (1)
  • Open Source (2)
  • Operating System (2)
  • Operator (3)
  • Operators (7)
  • Optical disk (1)
  • OR (2)
  • Ordered (1)
  • OS (2)
  • Output (4)
  • Output Unit (1)
  • Overloading (1)
  • Overview (1)
  • Page Class (1)
  • Palindrome (1)
  • Parallel (1)
  • Parameterized Constructors (1)
  • path (1)
  • Patterns (1)
  • Payment (1)
  • Peepel WebWriter (1)
  • Perl (1)
  • PHP (1)
  • Pipes (1)
  • Plotter (1)
  • Pointers (1)
  • pow (1)
  • Power (1)
  • PPM (1)
  • Precedence (1)
  • Primary Memory (1)
  • Prime Number (1)
  • Print (1)
  • Printer (1)
  • printf (1)
  • private (1)
  • Procedures (1)
  • Processor Management (1)
  • Program (7)
  • Programming Languages (4)
  • Programs (2)
  • PROM (1)
  • Propagation (1)
  • Properties (1)
  • Protection (2)
  • Prototype (2)
  • public (1)
  • putchar (1)
  • pwd (1)
  • Python (1)
  • Radio Frequency (1)
  • RAM (2)
  • Rate (1)
  • RDBMS (1)
  • Recovery (1)
  • Redirection (1)
  • reference (1)
  • Registers (1)
  • return (1)
  • Reverse (2)
  • Ring (1)
  • RLE (1)
  • rm (1)
  • rmdir (1)
  • ROM (3)
  • Ruby (1)
  • rules (1)
  • run (1)
  • Run Length encoding (1)
  • SaaS (1)
  • Satellite (1)
  • scanf (1)
  • Scanner (1)
  • Scope (2)
  • Search (1)
  • Second (1)
  • Secondary Storage (1)
  • Security (2)
  • selective structure (1)
  • Serial (1)
  • Server (1)
  • Server-Side Scripting (1)
  • Shannon-Fano (1)
  • Share (1)
  • shell (1)
  • Shortcut keys (1)
  • Signals (1)
  • SIMM (1)
  • sin (1)
  • Single-file Page Model (1)
  • SIZE (1)
  • Skin (1)
  • Smart Phone (1)
  • Software (2)
  • Solved (1)
  • sort (1)
  • Spooling (1)
  • SQL (2)
  • sqrt (1)
  • SRAM (1)
  • SSL (1)
  • Stack Pointer (1)
  • Star (1)
  • Steganography (1)
  • strcat (1)
  • strcmp (1)
  • strcmpi (1)
  • strcpy (1)
  • string (8)
  • Strings (2)
  • strlen (1)
  • Structure (4)
  • Structures (2)
  • Styles (1)
  • SUB (1)
  • substring (2)
  • Subtraction (1)
  • SUP (1)
  • Swap (1)
  • Swift (1)
  • switch (2)
  • Symbols (1)
  • Syntax (1)
  • System (3)
  • System Program (1)
  • System Software (1)
  • TABLE (1)
  • Tag (3)
  • tail (1)
  • TD (1)
  • Text (3)
  • Text Editor (1)
  • Themes (1)
  • Thermal (1)
  • ThinkFree Write (1)
  • Third (1)
  • Threats (1)
  • Time (1)
  • tolower (1)
  • Topology (5)
  • toupper (1)
  • TR (1)
  • Traditional commerce vs. E-commerce (1)
  • Transistor (1)
  • Transmission (2)
  • Tree (1)
  • Truth Table (3)
  • twisted pair cable (1)
  • Types (3)
  • types kernel (1)
  • U (1)
  • UNIVAC (1)
  • Unix (9)
  • Unordered (1)
  • upper case (1)
  • User-Defined (1)
  • variables (6)
  • VB (6)
  • VDU (1)
  • Venn Diagram (3)
  • version (1)
  • Video (1)
  • Visual Basic (5)
  • Visual Display Unit (1)
  • Vlink (1)
  • WAN (1)
  • wc (1)
  • Web (1)
  • webpages (1)
  • webserver (2)
  • website (1)
  • What is Cloud Robotics (1)
  • While (2)
  • who (1)
  • Wild Cards (1)
  • Winchester Disk (1)
  • Windows 8 (2)
  • Windows 8.1 (1)
  • WORM (1)
  • XML (1)
  • XNOR (1)
  • XOR (1)
  • Zoho Writer (1)
Simple theme. Powered by Blogger.