Download presentation
Presentation is loading. Please wait.
2
Basically, a sequence of characters Character? › Like… a letter › Or a number › Or even blank space
3
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
4
Each character has a position HIMOM 123456
5
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”
6
LEFT – leftmost characters RIGHT – rightmost characters MID – characters in the middle Exercise
7
Finds the length of a String One of the most important functions Relationship between length and position?
8
Operations on Strings such as: › Searching › Replacing › Concatenating › Converting
9
Click the function button Select Text They actually mean String, but whatever List of handy functions and other goodies
10
Find – case sensitive search › Cake ≠ cake Search – non-case sensitive search › Cake = cake Example: › Look for UNC
11
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”
12
Also a function called concatenate Same thing as & Can use either Same as SUM or + Exercise: › Concatenate two names and a blank or comma
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.