What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-20 15:54:10
ascii of a character in dart
// Grab a substring. assert('Never odd or even'.substring(6, 9) == 'odd'); // Split a string using a string pattern. var parts = 'structured web apps'.split(' '); assert(parts.length == 3); assert(parts[0] == 'structured'); // Get a UTF-16 code unit (as... Add solution -
Javascript 2021-11-20 01:13:20
javascript substring vs substr
let demo = 'This is a normal sentence'; // substr // The substr method takes two parameters // param 1 - the starting index to copy from a string // param 2 - the number of characters that must be copied from the starting index let newDemo = demo.subst... Add solution