From course:
(Practice similar questions for free)
Programming Module (revision for friday's test)
» Start this Course(Practice similar questions for free)
Question:
What are the 7 key string manipulation functions and how do they work?
Author: Hannah QureshiAnswer:
Split – splits a string into an array of words, with some delimiter (i.e., space) Join – merges an array into a list Mid – allows you to ‘extract’ a substring from a string Left - allows you to ‘extract’ a substring starting from the left of a string Right - allows you to ‘extract’ a substring starting from the right of a string Find – allows you to ‘find’ the first index of a substring in a string Trim - allows you to ‘remove’ any leading or trailing ’whitespace’
0 / 5 (0 ratings)
1 answer(s) in total