[ ] Square brackets enclose syntax options { } Braces enclose items of which only one is required | A vertical bar denotes options … Three dots indicate.

Slides:



Advertisements
Similar presentations
Copyright © 2007, Oracle. All rights reserved Using Single-Row Functions to Customize Output Modified: October 21, 2014.
Advertisements

Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
PL/SQL.
Regular Expressions in Perl By Josue Vazquez. What are Regular Expressions? A template that either matches or doesn’t match a given string. Often called.
 A function is a type of formula whose result is one of two things: either a transformation or information.  Syntax Symbols SYMBOLUSAGE []Square brackets.
Slide 1 VB Programming Fundamentals. Slide 2 Visual Basic Language v VB language is powerful and easy to use v Descendent of BASIC (Beginner's All-Purpose.
1 Pertemuan 04 Expression Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
Introduction to Oracle9i: SQL1 Selected Single-Row Functions.
JavaScript, Third Edition
Lecture 6 29/1/15. Number functions Number functions take numbers as input, change them, and output the results as numbers. 2.
BACS 287 Visual Basic String Manipulation. BACS 287 Visual Basic Strings In Visual Basic, a “string” is a series of text, numbers, and special characters.
Regular Expression A regular expression is a template that either matches or doesn’t match a given string.
Lesson 3 – Regular Expressions Sandeepa Harshanganie Kannangara MBCS | B.Sc. (special) in MIT.
Chapter 9 Creating Formulas that Manipulate Text Microsoft Office Excel 2003.
Chapter 2 Basic SQL SELECT Statements
Chapter 2 Basic SQL SELECT Statements Oracle 10g: SQL.
Manipulation Masterclass By the VB Gods. In this masterclass, we will learn how to use some of the string manipulation function such as Len, Right, Left,
Chapter 10 Selected Single-Row Functions Oracle 10g: SQL.
Chapter 5 Selected Single-Row Functions. Chapter Objectives  Use the UPPER, LOWER, and INITCAP functions to change the case of field values and character.
Functions Oracle Labs 5 & 6. 2/3/2005Adapted from Introduction to Oracle: SQL and PL/SQL 2 SQL Functions Function arg n arg 2 arg 1. Input Resulting Value.
ASP.NET Programming with C# and SQL Server First Edition Chapter 5 Manipulating Strings with C#
Holt Algebra Order of Operations Warm Up 8/12/09.
1.2 Order of Operations Numerical expressions often contain more than one operation. Order of Operations: – Step 1 – Evaluate expressions inside grouping.
Oracle 11g: SQL Chapter 10 Selected Single-Row Functions.
LECTURE 1 INTRODUCTION TO PL/SQL Tasneem Ghnaimat.
What is PHP? PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports.
SINGLE ROW FUNCTIONS 1. CHARACTER MANIPULATION Prof. Carmen Popescu Oracle Academy Lead Adjunct.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 24 The String Section.
Chapter 3 Selected Single-Row Functions and Advanced DML & DDL.
Guide to Oracle 10g ITBIS373 Database Development Lecture 4a - Chapter 4: Using SQL Queries to Insert, Update, Delete, and View Data.
Chapter 12: String Manipulation Introduction to Programming with C++ Fourth Edition.
When you read a sentence, your mind breaks it into tokens—individual words and punctuation marks that convey meaning. Compilers also perform tokenization.
IFS Intro to Data Management Chapter 5 Getting More Than Simple Columns.
Programming with Microsoft Visual Basic 2008 Fourth Edition Chapter Eight String Manipulation.
SQL Functions. SQL functions are built into Oracle Database and are available for use in various appropriate SQL statements. These functions are use full.
H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. USA - +1-(770) ,
Basic Variables & Operators Web Programming1. Review: Perl Basics Syntax ► Comments: start with # (ignored by Perl) ► Statements: ends with ; (performed.
Built-in SQL Functions. 2 Type of Functions Character Functions returning character values returning numeric values Numeric Functions Date Functions Conversion.
§ 1.9 Exponents, Parentheses and Order of Operations.
1 CSE 2337 Chapter 7 Organizing Data. 2 Overview Import unstructured data Concatenation Parse Create Excel Lists.
8 1 String Manipulation CGI/Perl Programming By Diane Zak.
Declaring variables The type could be: int double char String name is anything you want like lowerCaseWord.
Strings PART I STRINGS, DATES, AND TIMES. FUNDAMENTALS OF CHARATERS AND STRINGS VB represents characters using American National Standards Institute(ANSI)
Java-02 Basic Concepts Review concepts and examine how java handles them.
Lab String Concatenation String s3 = s1.concat(s2); String s3 = s1 + s2; s1 + s2 + s3 + s4 + s5 same as (((s1.concat(s2)).concat(s3)).concat(s4)).concat(s5);
Writing Basic SQL SELECT Statements Lecture
Gollis University Faculty of Computer Engineering Chapter Five: Retrieval, Functions Instructor: Mukhtar M Ali “Hakaale” BCS.
1 VB-06-String Manipulation Mar 03, 2002 String Function VISUAL BASIC.
CSC 162 Visual Basic I Programming. String Functions LTrim( string ) –Removes leading spaces from the left side of string RTrim( string ) –Removes trailing.
An Introduction to Programming with C++1 The Selection Structure Tutorial 6.
13/06/ Strings Left, Right and Trim. 213/06/2016 Learning Objectives Explain what the Left, Right and Trim functions do.
Defining a Column Alias
String Methods Programming Guides.
Open Source Server Side Scripting MySQL Functions
Chapter 10 Selected Single-Row Functions Oracle 10g: SQL
Excel REPT Function.
Section 3.2c Strings and Method Signatures
SQL 101 3rd Session.
SQL Text Manipulation Farrokh Alemi, Ph.D.
SQL 101 2nd Session.
String Manipulation and More Controls
VBScript Session 10.
Writing Basic SQL SELECT Statements
Microsoft Visual Basic 2005: Reloaded Second Edition
The Data Element.
MapInfo SQL String Functions
The Data Element.
Chapter 5: The Selection Structure
Section 1.9 Grouping Symbols.
What We Want To Do User enters: Mary Smith
Presentation transcript:

[ ] Square brackets enclose syntax options { } Braces enclose items of which only one is required | A vertical bar denotes options … Three dots indicate that the preceding expression can be repeated Delimiters Example of delimiters are commas and parentheses, etc. CAPS Indicate Oracle keywords UNDERLINE Indicates a default value Syntax Symbols

LOWER(string1) Converts to lowercase UPPER(string1) Converts to uppercase INITCAP(string1) Capitalizes the first letter LPAD( string1, padded_length, [ pad_string ] ) Left pads RPAD( string1, padded_length, [ pad_string ] ) Right pads LTRIM( string1, [ trim_string ] ) Left trims RTRIM( string1, [ trim_string ] ) Right trims Character Functions

TRIM([LEADING|TRAILING|BOTH] trim_character FROM string1) Trims leading, trailing or both sides SUBSTR( string1, start_position, [ length ] ) Cuts out a piece of a string INSTR( string1, string2 [, start_position [, nth_appearance ] ] ) Determines the starting location of a string Character Functions continued

LENGTH(string1) Returns the length of a string CONCAT(string1,string2) Concatenates two strings REPLACE( string1, string_to_replace, [ replacement_string ] ) Replaces a string with another string SOUNDEX(string1) Returns phonetic representation TRANSLATE( string1, string_to_replace, replacement_string ) Substitutes individual characters Character Functions continued