Search Results

Searching for: String

Individual Exercises

0 / 20

This methods takes a String object as a parameter and returns an encrypted version of the object. The encryption is done in two steps:...

0 / 10

this method accepts a String object as a parameter. It returns true if the String has all unique characters, false otherwise. For...

0 / 10

Write a function untilSpace(s) that returns a substring of s starting at the beginning and extending until a space is found. The space is...

0 / 10

Given an array of integers, return the largest value in the array. Assume the array has only posivitive numbers. If the array is empty,...

0 / 10

Write a function first10(s) that returns the first 10 characters of s. If s is longer than 10 characters, just truncate it. If s is...

0 / 100

Write a function fullWords(s) that returns a string no longer than 20 characters. If the string s is longer than 20 characters, just...