Chapter:6 String Methods: Display string length and first and last char
1. String length
2. String Index
3. Search for a string in a word
4. Substring
5. String replace
6. String case lowercase and uppercase
7. String trim
8. String cut
Code:
Output:
Code:
Output:
Chapter:7 Array: Take CPU as array and display it properties
1. Create an array and array elements
2. Array Keyword
3. Pop
4. Push
5. Shifting
6. Sort
Code:
Output:
Code:
Output:
1. String length
2. String Index
3. Search for a string in a word
4. Substring
5. String replace
6. String case lowercase and uppercase
7. String trim
8. String cut
Code:
Output:
Code:
Output:
Chapter:7 Array: Take CPU as array and display it properties
1. Create an array and array elements
2. Array Keyword
3. Pop
4. Push
5. Shifting
6. Sort
Code:
Output:
Code:
Output: