Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
dart
ruby
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
lua
winforms
pascal-string
bash
kotlin-string
swift-string
c-string
cpp-string
go-string
java-string
cpp-vector
f#
opengl
php-string
c#-string
vbnet-string
pascal-array
rust-string
python-string
swift-array
scala-string
javascript-string
c-array
php-array
typescript-string
javascript-array
cobol
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
go-array
nodejs-string
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
calculate-surface-area-cuboid
remove-last-occurrence-word-string
extract-words-with-first-letter-lowercase-from-string
convert-specific-column-decimal-matrix-to-string
convert-specific-row-decimal-matrix-to-string
number-made-prime-deleting-single-digit
convert-days-human-readable-weeks-days
square-root-rounded-down-to-nearest-integer
remove-middle-word-string
Disclosure:
My content contains affiliate links.
Recent questions tagged swift
40,244
questions
52,261
answers
573
users
Recent questions tagged swift
1
answer
3
views
How to find the longest common prefix of all the words in a string with Swift
asked
2 hours
ago
by
avibootz
swift
swift-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
1
answer
6
views
How to split a string on multiple multi‑character delimiters (and keep them) in Swift
asked
1 day
ago
by
avibootz
swift
swift-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
9
views
How to split a string on multiple single‑character delimiters (and keep them) in Swift
asked
2 days
ago
by
avibootz
swift
swift-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
12
views
How to find missing alphabet characters from a string in Swift
asked
4 days
ago
by
avibootz
swift
swift-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
12
views
How to remove all adjacent duplicate characters from a string until no more can be removed in Swift
asked
4 days
ago
by
avibootz
swift
swift-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
23
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with Swift
asked
5 days
ago
by
avibootz
swift
swift-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
16
views
How to calculate the remainder in Swift
asked
Mar 5
by
avibootz
swift
swift-calculate-remainder
calculate-remainder
1
answer
20
views
How to calculate the surface area of cuboid in Swift
asked
Mar 3
by
avibootz
swift
swift-cuboid
swift-calculate-surface-area-cuboid
calculate-surface-area-cuboid
1
answer
17
views
How to find the longest word in a string with Swift
asked
Mar 3
by
avibootz
swift
swift-string
swift-longest-word-in-string
longest-word-in-string
1
answer
23
views
How to check if a string contains only 0 and 1 and is divisible by 7 in Swift
asked
Mar 1
by
avibootz
swift
swift-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
1
answer
21
views
How to check if every digit in a number appears only once in Swift
asked
Feb 27
by
avibootz
swift
swift-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
17
views
How to check if a number is pandigital in Swift
asked
Feb 25
by
avibootz
swift
swift-check-number-pandigitaln
check-number-pandigitaln
1
answer
19
views
How to find all happy numbers in a specific range with Swift
asked
Feb 25
by
avibootz
swift
swift-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
22
views
How to check if a number is a happy number in Swift
asked
Feb 24
by
avibootz
swift
swift-check-if-number-is-happy-number
check-if-number-is-happy-number
1
answer
18
views
How to guarantee a 64‑bit integer across platforms in Swift
asked
Feb 23
by
avibootz
swift
swift-guarantee-64-bit-integer-across-platforms
guarantee-64-bit-integer-across-platforms
2
answers
25
views
How to remove newlines from a string Swift
asked
Feb 22
by
avibootz
swift
swift-remove-newlines-from-string
remove-newlines-from-string
1
answer
21
views
How to convert a number to any base in Swift
asked
Feb 21
by
avibootz
swift
swift-convert-number-to-any-base
convert-number-to-any-base
1
answer
19
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in Swift
asked
Feb 20
by
avibootz
swift
swift-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
1
answer
18
views
How to simulate rolling two dice (game cubes) with values 1–6 in Swift
asked
Feb 18
by
avibootz
swift
swift-simulate-rolling-two-dice-values-1-6
simulate-rolling-two-dice-values-1-6
1
answer
27
views
How to remove the last n occurrences of a substring in a string in Swift
asked
Feb 16
by
avibootz
swift
swift-remove-last-n-occurrences-substring-string
remove-last-n-occurrences-substring-string
1
answer
24
views
How to replace a random word in a string with a random word from an array of words using Swift
asked
Feb 13
by
avibootz
swift
swift-replace-random-word-in-string-with-random-word-from-array
replace-random-word-in-string-with-random-word-from-array
1
answer
25
views
How to find the length of the shortest word in a string with Swift
asked
Feb 12
by
avibootz
swift
swift-length-shortest-word-in-string
length-shortest-word-in-string
1
answer
23
views
How to find the shortest identical consecutive subarray in an array with Swift
asked
Feb 9
by
avibootz
swift
swift-shortest-identical-consecutive-subarray
shortest-identical-consecutive-subarray
1
answer
25
views
How to move the n word to the end of a string in Swift
asked
Feb 6
by
avibootz
swift
swift-move-n-word-to-end-of-string
move-n-word-to-end-of-string
1
answer
27
views
How to move the first word to the end of a string in Swift
asked
Feb 5
by
avibootz
swift
swift-move-first-word-to-end-of-string
move-first-word-to-end-of-string
1
answer
29
views
How to move a word to the end of a string in Swift
asked
Feb 5
by
avibootz
swift
swift-move-word-to-end-of-string
move-word-to-end-of-string
1
answer
35
views
How to multiply every N consecutive items in an array with Swift
asked
Feb 2
by
avibootz
swift
swift-multiply-every-n-of-consecutive-items-in-array
multiply-every-n-of-consecutive-items-in-array
1
answer
26
views
How to create a sequence of dates between a start and end date in Swift
asked
Jan 31
by
avibootz
swift
swift-create-sequence-of-dates
create-sequence-of-dates
2
answers
37
views
How to create an array of dates between a start and end date in Swift
asked
Jan 31
by
avibootz
swift
swift-create-array-of-dates
create-array-of-dates
1
answer
29
views
How to find the number occurring an odd number of times in an array with Swift
asked
Jan 30
by
avibootz
swift
swift-find-number-occurring-odd-number-of-times-in-array
find-number-occurring-odd-number-of-times-in-array
1
answer
31
views
How to sort an array of structs by multiple columns in Swift
asked
Jan 29
by
avibootz
swift
swift-sort-array-of-structs-by-multiple-columns
sort-array-of-structs-by-multiple-columns
1
answer
39
views
How to generate non‑overlapping random ranges (start,end),(start,end) in Swift
asked
Jan 28
by
avibootz
swift
swift-generate-non-overlapping-random-ranges
generate-non-overlapping-random-ranges
1
answer
29
views
How to merge overlapping ranges (start,end),(start,end) in Swift
asked
Jan 26
by
avibootz
swift
swift-merge-overlapping-ranges
merge-overlapping-ranges
1
answer
38
views
How to merge two strings based on shared suffix and prefix in Swift
asked
Jan 24
by
avibootz
swift
swift-merge-two-strings
merge-two-strings-based-on-shared-suffix-and-prefix
1
answer
29
views
How to sort by strings a mixed pair of string and number elements in an array with Swift
asked
Jan 23
by
avibootz
swift
swift-sort-array
sort-by-strings-mixed-pair-of-string-number-elements-in-array
1
answer
32
views
How to sort by numbers a mixed pair of string and number elements in an array with Swift
asked
Jan 23
by
avibootz
swift
swift-sort-array
sort-by-numbers-mixed-pair-of-string-number-elements-in-array
1
answer
32
views
How to check if a string is IPv4 or IPv6 or invalid in Swift
asked
Jan 20
by
avibootz
swift
swift-check-if-string-is-ipv4-or-ipv6-or-invalid
check-if-string-is-ipv4-or-ipv6-or-invalid
1
answer
29
views
How to print a calendar for a specific month and year in Swift
asked
Jan 19
by
avibootz
swift
swift-print-calendar-for-specific-month-and-year
print-calendar-for-specific-month-and-year
1
answer
30
views
How to print the calendar for a specific year in Swift
asked
Jan 17
by
avibootz
swift
swift-print-calendar-for-specific-year
print-calendar-for-specific-year
1
answer
35
views
How to group words by first letter in Swift
asked
Jan 17
by
avibootz
swift
swift-group-words-by-first-letter
group-words-by-first-letter
1
answer
34
views
How to extract only words with first-letter lowercase from a string in Swift
asked
Jan 16
by
avibootz
swift
swift-extract-words-with-first-letter-lowercase-from-string
extract-words-with-first-letter-lowercase-from-string
1
answer
33
views
How to find the volume of a capsule in Swift
asked
Jan 12
by
avibootz
swift
swift-find-volume-of-capsule
find-volume-of-capsule
1
answer
32
views
How to implement ternary search to find a value in a sorted list with Swift
asked
Jan 12
by
avibootz
swift
swift-implement-ternary-search-to-find-value-in-sorted-array
implement-ternary-search-to-find-value-in-sorted-array
1
answer
33
views
How to convert a character (flatten) matrix to a single string in Swift
asked
Jan 10
by
avibootz
swift
swift-convert-character-matrix-to-single-string
convert-character-matrix-to-single-string
flatten_char_matrix
1
answer
38
views
How to convert a specific column of a decimal matrix to a string in Swift
asked
Jan 9
by
avibootz
swift
swift-convert-specific-column-decimal-matrix-to-string
convert-specific-column-decimal-matrix-to-string
1
answer
32
views
How to convert a specific row of a decimal matrix to a string in Swift
asked
Jan 9
by
avibootz
swift
swift-convert-specific-row-decimal-matrix-to-string
convert-specific-row-decimal-matrix-to-string
1
answer
43
views
How to hash a set of GUIDs in Swift
asked
Jan 7
by
avibootz
swift
swift-hash-set-of-guids
hash-set-of-guids
2
answers
49
views
How to check if a number can be made prime by deleting a single digit in Swift
asked
Jan 7
by
avibootz
swift
swift-number-made-prime-deleting-single-digit
number-made-prime-deleting-single-digit
1
answer
38
views
How to check if each letter in a string maps to the first letter of a word in another string with Swift
asked
Jan 6
by
avibootz
swift
swift-each-letter-string-maps-first-letter-word-another-string
each-letter-string-maps-first-letter-word-another-string
1
answer
37
views
How to check if a string can be constructed by using the letters of another string in Swift
asked
Jan 5
by
avibootz
swift
swift-string-constructed-letters-another-string
string-constructed-letters-another-string
Page:
1
2
3
4
5
6
...
17
next »
...