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 -
Python 2021-11-09 13:40:23
luhn algorithm python
#Worse #This is the longer Luhn's algorithm with step-by-step instructions #Function to split a string into a list of all its constituent characters def split_char(number_string): return [char for char in number_string] #Function to convert a string... Add solution -
VBA 2021-10-18 19:05:10
vba string array
'In VBA a dynamic string array is declared in the following ways: Dim strArr1() As String Dim strArr2$() 'Neither declaration style is prefered. They are exactly equivalent. 'Both ways above produce a dynamic array, which means that the exact size of '... Add solution -
Python 2021-10-02 23:22:03
python split by newline
# Using str.splitlines() method, you can split a string by new lines # Example 1 string = "Line 1\nLine 2\nLine 3\nLine4" string = string.splitlines() print(string) # OUTPUT ['Line 1', 'Line 2', 'Line 3', 'Line4'] # Example 2 string = "&q... Add solution
Best helpers
Joker13
+5
Remmy Kasili
+5
Anand GV
+5
Manx rat
+5
Jokim
+5
Nitro2k01
+5
Letomkov
+5
Glob Cropper
+5