Enviar búsqueda
Cargar
String operation
•
2 recomendaciones
•
9,338 vistas
Shakila Mahjabin
Seguir
Data structure and Algorithm course material, CSC-391.
Leer menos
Leer más
Educación
Tecnología
Entretenimiento y humor
Denunciar
Compartir
Denunciar
Compartir
1 de 12
Descargar ahora
Descargar para leer sin conexión
Recomendados
Java Servlets
Java Servlets
BG Java EE Course
PHP FUNCTIONS
PHP FUNCTIONS
Zeeshan Ahmed
Files in java
Files in java
Muthukumaran Subramanian
Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm
KristinaBorooah
Swing and AWT in java
Swing and AWT in java
Adil Mehmoood
Array in C
Array in C
adityas29
Introduction to oops concepts
Introduction to oops concepts
Nilesh Dalvi
Data structure and algorithm using java
Data structure and algorithm using java
Narayan Sau
Recomendados
Java Servlets
Java Servlets
BG Java EE Course
PHP FUNCTIONS
PHP FUNCTIONS
Zeeshan Ahmed
Files in java
Files in java
Muthukumaran Subramanian
Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm
KristinaBorooah
Swing and AWT in java
Swing and AWT in java
Adil Mehmoood
Array in C
Array in C
adityas29
Introduction to oops concepts
Introduction to oops concepts
Nilesh Dalvi
Data structure and algorithm using java
Data structure and algorithm using java
Narayan Sau
Array data structure
Array data structure
maamir farooq
Constructor ppt
Constructor ppt
Vinod Kumar
Arrays in python
Arrays in python
moazamali28
Queue implementation
Queue implementation
Rajendran
Java Exception handling
Java Exception handling
kamal kotecha
Array in c++
Array in c++
Mahesha Mano
Set methods in python
Set methods in python
deepalishinkar1
Javascript
Javascript
Manav Prasad
JDBC: java DataBase connectivity
JDBC: java DataBase connectivity
Tanmoy Barman
Arrays in Java
Arrays in Java
Naz Abdalla
Introduction to java
Introduction to java
Veerabadra Badra
Class 5 - PHP Strings
Class 5 - PHP Strings
Ahmed Swilam
Programming in c Arrays
Programming in c Arrays
janani thirupathi
Strings in python
Strings in python
Prabhakaran V M
Interface in java
Interface in java
PhD Research Scholar
OOP Assignment 03.pdf
OOP Assignment 03.pdf
ARSLANMEHMOOD47
Oops in Java
Oops in Java
malathip12
stack & queue
stack & queue
manju rani
Java Presentation
Java Presentation
pm2214
Java I/O
Java I/O
Jussi Pohjolainen
Different string operations....................
Different string operations....................
MeghaKulkarni27
functional groovy
functional groovy
Paul King
Más contenido relacionado
La actualidad más candente
Array data structure
Array data structure
maamir farooq
Constructor ppt
Constructor ppt
Vinod Kumar
Arrays in python
Arrays in python
moazamali28
Queue implementation
Queue implementation
Rajendran
Java Exception handling
Java Exception handling
kamal kotecha
Array in c++
Array in c++
Mahesha Mano
Set methods in python
Set methods in python
deepalishinkar1
Javascript
Javascript
Manav Prasad
JDBC: java DataBase connectivity
JDBC: java DataBase connectivity
Tanmoy Barman
Arrays in Java
Arrays in Java
Naz Abdalla
Introduction to java
Introduction to java
Veerabadra Badra
Class 5 - PHP Strings
Class 5 - PHP Strings
Ahmed Swilam
Programming in c Arrays
Programming in c Arrays
janani thirupathi
Strings in python
Strings in python
Prabhakaran V M
Interface in java
Interface in java
PhD Research Scholar
OOP Assignment 03.pdf
OOP Assignment 03.pdf
ARSLANMEHMOOD47
Oops in Java
Oops in Java
malathip12
stack & queue
stack & queue
manju rani
Java Presentation
Java Presentation
pm2214
Java I/O
Java I/O
Jussi Pohjolainen
La actualidad más candente
(20)
Array data structure
Array data structure
Constructor ppt
Constructor ppt
Arrays in python
Arrays in python
Queue implementation
Queue implementation
Java Exception handling
Java Exception handling
Array in c++
Array in c++
Set methods in python
Set methods in python
Javascript
Javascript
JDBC: java DataBase connectivity
JDBC: java DataBase connectivity
Arrays in Java
Arrays in Java
Introduction to java
Introduction to java
Class 5 - PHP Strings
Class 5 - PHP Strings
Programming in c Arrays
Programming in c Arrays
Strings in python
Strings in python
Interface in java
Interface in java
OOP Assignment 03.pdf
OOP Assignment 03.pdf
Oops in Java
Oops in Java
stack & queue
stack & queue
Java Presentation
Java Presentation
Java I/O
Java I/O
Similar a String operation
Different string operations....................
Different string operations....................
MeghaKulkarni27
functional groovy
functional groovy
Paul King
Swift, functional programming, and the future of Objective-C
Swift, functional programming, and the future of Objective-C
Alexis Gallagher
Adv DB - Full Handout.pdf
Adv DB - Full Handout.pdf
3BRBoruMedia
Fast Exact String Pattern-Matching Algorithm for Fixed Length Patterns
Fast Exact String Pattern-Matching Algorithm for Fixed Length Patterns
kvaderlipa
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
Eelco Visser
String and string manipulation
String and string manipulation
Shahjahan Samoon
Kotlin @ Coupang Backend 2017
Kotlin @ Coupang Backend 2017
Sunghyouk Bae
concurrency with GPars
concurrency with GPars
Paul King
NUS Hackers Club Mar 21 - Whats New in JavaSE 8?
NUS Hackers Club Mar 21 - Whats New in JavaSE 8?
Chuk-Munn Lee
Using PostgreSQL with Bibliographic Data
Using PostgreSQL with Bibliographic Data
Jimmy Angelakos
Data structure and algorithm All in One
Data structure and algorithm All in One
jehan1987
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
Anne Nicolas
String.pptx
String.pptx
RanjithKumar742256
Array 2 hina
Array 2 hina
heena94
XML on SQL Server
XML on SQL Server
torp42
No SQL, No problem - using MongoDB in Ruby
No SQL, No problem - using MongoDB in Ruby
sbeam
Oracle Material.pdf
Oracle Material.pdf
rajeshkathavarayan
SPACE-EFFICIENT K-MER ALGORITHM FOR GENERALISED SUFFIX TREE
SPACE-EFFICIENT K-MER ALGORITHM FOR GENERALISED SUFFIX TREE
ijitcs
Java OOP Programming language (Part 8) - Java Database JDBC
Java OOP Programming language (Part 8) - Java Database JDBC
OUM SAOKOSAL
Similar a String operation
(20)
Different string operations....................
Different string operations....................
functional groovy
functional groovy
Swift, functional programming, and the future of Objective-C
Swift, functional programming, and the future of Objective-C
Adv DB - Full Handout.pdf
Adv DB - Full Handout.pdf
Fast Exact String Pattern-Matching Algorithm for Fixed Length Patterns
Fast Exact String Pattern-Matching Algorithm for Fixed Length Patterns
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
String and string manipulation
String and string manipulation
Kotlin @ Coupang Backend 2017
Kotlin @ Coupang Backend 2017
concurrency with GPars
concurrency with GPars
NUS Hackers Club Mar 21 - Whats New in JavaSE 8?
NUS Hackers Club Mar 21 - Whats New in JavaSE 8?
Using PostgreSQL with Bibliographic Data
Using PostgreSQL with Bibliographic Data
Data structure and algorithm All in One
Data structure and algorithm All in One
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
Kernel Recipes 2019 - GNU poke, an extensible editor for structured binary data
String.pptx
String.pptx
Array 2 hina
Array 2 hina
XML on SQL Server
XML on SQL Server
No SQL, No problem - using MongoDB in Ruby
No SQL, No problem - using MongoDB in Ruby
Oracle Material.pdf
Oracle Material.pdf
SPACE-EFFICIENT K-MER ALGORITHM FOR GENERALISED SUFFIX TREE
SPACE-EFFICIENT K-MER ALGORITHM FOR GENERALISED SUFFIX TREE
Java OOP Programming language (Part 8) - Java Database JDBC
Java OOP Programming language (Part 8) - Java Database JDBC
Más de Shakila Mahjabin
Computer processing
Computer processing
Shakila Mahjabin
Arrays in CPP
Arrays in CPP
Shakila Mahjabin
CSC 433 Sample normalization SQL Question
CSC 433 Sample normalization SQL Question
Shakila Mahjabin
SQL : introduction
SQL : introduction
Shakila Mahjabin
Normalization
Normalization
Shakila Mahjabin
Solution of Erds
Solution of Erds
Shakila Mahjabin
Entity Relationship Diagram
Entity Relationship Diagram
Shakila Mahjabin
Ch1- Introduction to dbms
Ch1- Introduction to dbms
Shakila Mahjabin
Stack and queue
Stack and queue
Shakila Mahjabin
Algo analysis
Algo analysis
Shakila Mahjabin
Merge sort and quick sort
Merge sort and quick sort
Shakila Mahjabin
Codes on structures
Codes on structures
Shakila Mahjabin
Arrays
Arrays
Shakila Mahjabin
array, function, pointer, pattern matching
array, function, pointer, pattern matching
Shakila Mahjabin
Data Structure Basics
Data Structure Basics
Shakila Mahjabin
Más de Shakila Mahjabin
(15)
Computer processing
Computer processing
Arrays in CPP
Arrays in CPP
CSC 433 Sample normalization SQL Question
CSC 433 Sample normalization SQL Question
SQL : introduction
SQL : introduction
Normalization
Normalization
Solution of Erds
Solution of Erds
Entity Relationship Diagram
Entity Relationship Diagram
Ch1- Introduction to dbms
Ch1- Introduction to dbms
Stack and queue
Stack and queue
Algo analysis
Algo analysis
Merge sort and quick sort
Merge sort and quick sort
Codes on structures
Codes on structures
Arrays
Arrays
array, function, pointer, pattern matching
array, function, pointer, pattern matching
Data Structure Basics
Data Structure Basics
Último
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Elizabeth Walsh
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
Mebane Rash
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Admir Softic
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Pooja Bhuva
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Denish Jangid
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
Jisc
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
Celine George
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
camerronhm
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
MaritesTamaniVerdade
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
jbellavia9
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
Nirmal Dwivedi
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Pooja Bhuva
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
UmeshTimilsina1
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
annathomasp01
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
Esquimalt MFRC
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
agholdier
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
Pooky Knightsmith
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
Celine George
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
Nguyen Thanh Tu Collection
Último
(20)
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
String operation
1.
String Operation Csc-391
2.
2 Data Structures and
Algorithms Remarks • Each programming language contains a character set that is used to communicate with the computer. This set usually includes the followings- • Alphabet- A B C D… X Y Z • Digits- 0 1 2.. 9 • Special Characters- + - / * . (), {}, , $ etc.. ©SMT, Faculty, CSE, IUBAT
3.
3 Data Structures and
Algorithms Storing String • For Example, ©SMT, Faculty, CSE, IUBAT
4.
4 Data Structures and
Algorithms Storing String • 1. Fixed- length storage. ©SMT, Faculty, CSE, IUBAT
5.
5 Data Structures and
Algorithms Storing String • 1. Fixed- length storage. ©SMT, Faculty, CSE, IUBAT
6.
6 Data Structures and
Algorithms Storing String • 2. Variable- length storage with fixed maximum. ©SMT, Faculty, CSE, IUBAT
7.
7 Data Structures and
Algorithms Storing String • 2. Variable- length storage with fixed maximum. ©SMT, Faculty, CSE, IUBAT
8.
8 Data Structures and
Algorithms Storing String • 3. Linked storage ©SMT, Faculty, CSE, IUBAT
9.
9 Data Structures and
Algorithms String Operation • Length: LENGTH (string) e.g.- LENGTH(‘Mark Zuckerberg’)= 15 • Substring: SUBSTRING(string, initial, length) e.g.- SUBSTRING(‘Impossible is a word found in coward’s dictionary’,0,20) = Impossible is a word • Indexing: INDEX(string, pattern) e.g.- INDEX(‘He is wearing glasses’, ‘ear’)= 8 • Concatenation: String1//String2 e.g.- ‘To be or not to be’// ‘, this is the question.’= To be or not to be, this is the question ©SMT, Faculty, CSE, IUBAT
10.
©SMT, Faculty, CSE,
IUBAT String Operation • Word Processing- Insertion: INSERT(string, position, string) e.g.- INSERT(‘ABCDEIJKL’,5,‘FGH’)= ABCDEFGHIJKL Deletion: DELETE(string, position, length) e.g.- DELETE(‘ABCDEFG’, 4, 2)= ABCDG
11.
11 Data Structures and
Algorithms String Operation – Replacement: REPLACE(string, pattern1, pattern2) e.g.- REPLACE(‘XABYABZ’, ‘AB’, ‘c’)= XCYABZ REPLACE function can be executed be using the following three steps- 1. K:= INDEX(string, P1) 2. T:= DELETE(string, K, LENGTH(P1)) 3. INSERT(T, K, P1) – So, the algorithm is- ©SMT, Faculty, CSE, IUBAT
12.
12 Data Structures and
Algorithms String Operation – Pattern Matching: Pattern matching is the problem of deciding whether or not a given string pattern P appears in a text. Widely used in word processing. – So, a basic algorithm is- ©SMT, Faculty, CSE, IUBAT
Descargar ahora