 Basically, a sequence of characters  Character? › Like… a letter › Or a number › Or even blank space.

Slides:



Advertisements
Similar presentations
Basics Of Spreadsheets Chapter Spreadsheet spreadsheet: grid of cells, each of which can contain text data or numeric data.
Advertisements

Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
Understanding Microsoft Excel
PIM Platform Free text search. When you type in the search field a suggestion tool helps you to find a concept from the ontology.
 Basically, it’s a sequence of characters.  Character? › Like… a letter. › Or a number. › Or even blank space (like spaces tabs and newlines).
 Just the word will find too many instances  Searching for blanks on both sides loses start and end  How to solve? › See last Thursday examples.
 UPPER – Changes stuff to UPPERCASE › “cookie” becomes “COOKIE”  lower – Anybody wanna guess? › “DuH LoLoLoL” becomes “duh lololol”  Valuable for checking.
Tutorial 14 Working with Forms and Regular Expressions.
1.10 Strings academy.zariba.com 1. Lecture Content 1.What is a string? 2.Creating and Using strings 3.Manipulating Strings 4.Other String Operations 5.Building.
Variables & Math Operators CE 311 K - Introduction to Computer Methods Daene C. McKinney.
Computer Science 1000 Spreadsheets II Permission to redistribute these slides is strictly prohibited without permission.
Chapter 9 Creating Formulas that Manipulate Text Microsoft Office Excel 2003.
XP Tutorial 14 New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
DAY 6: EXCEL CHAPTER 2 Tazin Afrin September 05,
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
Tutorial 14 Working with Forms and Regular Expressions.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
Strings The Basics. Strings can refer to a string variable as one variable or as many different components (characters) string values are delimited by.
MS-Excel XP Lesson 6. NOW Function 1.Returns the current date and time formatted as a date and time. 2.A1  =NOW() 3.A2  Select Insert menu Select Function.
1 Languages. 2 A language is a set of strings String: A sequence of letters Examples: “cat”, “dog”, “house”, … Defined over an alphabet:
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 24 The String Section.
Instructor: Craig Duckett Lecture 08: Thursday, October 22 nd, 2015 Patterns, Order of Evaluation, Concatenation, Substrings, Trim, Position 1 BIT275:
Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
Word wrap: a feature in word processors which causes the insertion point to automatically jump down to the beginning of the next line when you reach the.
Lesson 1 – Microsoft Excel * The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
ACIS Introduction to Data Analytics & Business Intelligence Text Mining Data Cleaning.
Strings The Basics. Strings a collection data type can refer to a string variable as one variable or as many different components (characters) string.
Formatting Output. Line Endings By now, you’ve noticed that the print( ) function will automatically print out a new line after passing all of the arguments.
Understanding Microsoft Excel Lesson 1 – Microsoft Excel 2013.
JavaScript VARIABLES AND DATA TYPES. OUTPUT WITHOUT ALERT OR FORM CONSOLE.LOG();
Chapter 2 print / println String Literals Escape Characters Variables / data types.
 Variables can store data of different types, and different data types can do different things.  PHP supports the following data types:  String  Integer.
2c – Textboxes and Buttons Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Excel Text Functions 1. LEFT(text, [num_chars])) Returns the number of characters specified starting from the beginning of the text string Syntax Text:
XP Tutorial 7 New Perspectives on JavaScript, Comprehensive 1 Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
1 Data and Expressions Chapter 2 In PowerPoint, click on the speaker icon then the “play” button to hear audio narration.
1 CSE 2337 Chapter 7 Organizing Data. 2 Overview Import unstructured data Concatenation Parse Create Excel Lists.
Computer Programming 2 Lab (1) I.Fatimah Alzahrani.
Chapter 23 The String Section (String Manipulation) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Strings PART I STRINGS, DATES, AND TIMES. FUNDAMENTALS OF CHARATERS AND STRINGS VB represents characters using American National Standards Institute(ANSI)
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);
Chapter Four Common facilities of procedural languages.
Introduction to Python Lesson 2a Print and Types.
ENGINEERING 1D04 Tutorial 2. What we’re doing today More on Strings String input Strings as lists String indexing Slice Concatenation and Repetition len()
Understanding Microsoft Excel
Understanding Microsoft Excel
Understanding Microsoft Excel
Logical Functions Excel Lesson 10.
Regular Expressions Upsorn Praphamontripong CS 1110
Miscellaneous Excel Combining Excel and Access.
Formatting Output.
Variables and Data Types
MID, CONCANTENATE, FIND, SUBTITUTE, LOWER, UPPER, DATE, NOW
Variables, Expressions, and IO
Formatting Output.
Strings Part 1 Taken from notes by Dr. Neil Moore
Working with Forms and Regular Expressions
Developing Editing and Formatting Skills
Understanding Microsoft Excel
Topics discussed in this section:
Understanding Microsoft Excel
String Processing 1 MIS 3406 Department of MIS Fox School of Business
Introduction to Computer Science
Python Strings.
Exam Prep.
Computer Programming-1 CSC 111
CS 100: Roadmap to Computing
Strings Taken from notes by Dr. Neil Moore & Dr. Debby Keen
Unit-2 Objects and Classes
What We Want To Do User enters: Mary Smith
Presentation transcript:

 Basically, a sequence of characters  Character? › Like… a letter › Or a number › Or even blank space

 Anything can be interpreted as a string regardless of format  In an expression (formula) string must be inside double quotes! › “this is a string” and this is not a string. › Remember to beware cut and paste

Each character has a position HIMOM

 A substring is also a String  A substring is a part of another string › “cake” is a substring of “birthday cake” › so are “day”, “thd”, and “y cake” › “they” is not, neither is “hello” or “dude”

 LEFT – leftmost characters  RIGHT – rightmost characters  MID – characters in the middle  Exercise

 Finds the length of a String  One of the most important functions  Relationship between length and position?

 Operations on Strings such as: › Searching › Replacing › Concatenating › Converting

Click the function button Select Text  They actually mean String, but whatever  List of handy functions and other goodies

 Find – case sensitive search › Cake ≠ cake  Search – non-case sensitive search › Cake = cake  Example: › Look for UNC

 Huh? › It means combining two or more things into one thing  & Anything can be concatenated › “awe” & “some” = “awesome” › Whitespace only matters inside quotes  “a”&“b” same as “a” & “b”  “a ” & “b” NOT the same as “a” & “b”

 Also a function called concatenate  Same thing as &  Can use either  Same as SUM or +  Exercise: › Concatenate two names and a blank or comma