Page 98 - Open Soource Technologies 304.indd
P. 98
Event Driven Programming Kumar Vishal, Lovely Professional University
Unit 5: VB String and Operators
CONTENTS
Objectives
Introduction
5.1 Strings
5.1.1 Variables and Strings
5.1.2 Fixed-Length Strings
5.1.3 Working with Fixed Length Strings
5.1.4 Testing for Fixed Length Strings
5.1.5 Size String
5.1.6 Path Compact Path Ex
5.1.7 Trim to Null
5.1.8 Trim to Char
5.2 Operators-math Operators
5.2.1 Operators-Math Operator
5.2.2 Multiplication Operator
5.2.3 Division Operator
5.2.4 Exponents
5.2.5 Handling Operators And Operator Precedence
5.2.6 Using IF & Else Statements
5.2.7 Using Select Case
5.2.8 Making Selections with Switch() And Choose()
5.2.9 The Choose() Function
5.2.10 Sending Keystrokes to other Programs
5.2.11 Handling Higher Math
5.2.12 Handling Dates And Times
5.3 Concatenation Operators
5.3.1 Differences Between the Two Concatenation Operators
5.4 Logical Operator
5.5 Summary
5.6 Keywords
5.7 Self Assessment Questions
5.8 Review Questions
5.9 Further Reading
92 LOVELY PROFESSIONAL UNIVERSITY