Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

LittleChildPaclet

Guides

  • Assumptions and Domains
  • Linguistic Data
  • Number Digits
  • Prime Numbers
  • Start Here Wolfram Challenge Functions
  • String Patterns
  • Wolfram Challenges Algorithms
  • Wolfram Challenges Computational Knowledge
  • Wolfram Challenges Geography
  • Wolfram Challenges Mathematics
  • Wolfram Challenges Words and Linguistics
  • Working with Sequences

Symbols

  • AliquotSequence
  • AlmostPalindrome
  • Anagrams
  • AntipodalCity
  • AntipodeAboveSeaLevelQ
  • BabbageSquares
  • BalancedParentheses
  • BalancedTernary
  • ButterflyString
  • CaesarDecrypt
  • CatalanUnrank
  • Coins
  • CompleteDictionary
  • DigitalRoot
  • FizzBuzz
  • IntegerPalindromeQ
  • MaxRomanLength
  • MaxRomanNumeralValue
  • NonNegativeIntegerQ
  • NumberTriangle
  • OddBeforeEven
  • PairsAddToHundred
  • PositiveIntegerQ
  • RepeatandEndingPrimes
  • SameStartEndWords
  • SayHello
  • SquareSum
  • StringPatternQ
  • ThreeFive
  • ToMorseCode
  • TwoAndThreePointers
  • WordListLookup
PeterBurbery`LittleChildPaclet`
ButterflyString
​
ButterflyString
[string]
Joins
string
with its reversal.
​
Details and Options

Examples  
(2)
Basic Examples  
(1)
In[1]:=
ButterflyString
["Wolfram"]
Out[1]=
WolframmarfloW
In[2]:=
ButterflyString
["butterfly"]
Out[2]=
butterflyylfrettub
In[3]:=
ButterflyString
["race"]
Out[3]=
raceecar
In[4]:=
ButterflyString
["Hello world!"]
Out[4]=
Hello world!!dlrow olleH
Say hello world:
In[5]:=
ButterflyString
EchoEvaluation
SayHello
["world"]
«
SayHello[world]
»
Hello world!
Out[5]=
Hello world!!dlrow olleH
Butterfly palindromes and store the butterflied palindromes in a cloud expression:
In[6]:=
palindromes=CreateCloudExpression[DictionaryLookup[x__/;PalindromeQ[x]],"palindromes"]
Out[6]=
CloudExpression
Name: palindromes
Owner: burbery1

Make a dataset of palindromes sorted by how common the word is with the web dataset theme:
In[7]:=
DatasetAssociationMap
ButterflyString
ReverseSortBy[WordFrequencyData]CloudExpression
Name: palindromes
Owner: burbery1
[],DatasetTheme"Web"
Out[7]=
a
aa
I
II
did
diddid
level
levellevel
non
nonnon
eye
eyeeye
refer
referrefer
deed
deeddeed
sees
seessees
noon
noonnoon
civic
civiccivic
dad
daddad
radar
radarradar
pop
poppop
ere
ereere
mom
mommom
sexes
sexessexes
rotor
rotorrotor
eve
eveeve
madam
madammadam
rows 1–20 of
70
Put the output in a Data object:
In[8]:=
ro=ResourceObject"ResourceType""DataResource","Name""Palindromes sorted by frequency","ContentElements""Palindromes"
dataset
,"DefaultContentElement""Palindromes"
Out[8]=
ResourceObject
Name: Palindromes sorted by frequency
Type: DataResource

Deploy the dataset to the cloud:
In[9]:=
CloudDeploy[ro]
Out[9]=
CloudObject[
https://www.wolframcloud.com/obj/9758d89f-9c3d-4444-afde-742d7bd53651
]
Find the resource:
In[10]:=
ResourceSearch["palindromes","Objects"]//TableForm
Out[10]//TableForm=
ResourceObject
Name: IntegerPalindromeQ
»
Type: Function
Description: Check whether an integer is a palindrome for any base and digits length

ResourceObject
Name: PalindromicSubsequences
»
Type: Function
Description: Find palindromic subsequences in lists

ResourceObject
Name: Palindromes sorted by frequency
Type: DataResource
Description:

ResourceObject
Name: Palindromes sorted by frequency
Type: DataResource
Description:

ResourceObject
Name: Palindromes sorted by frequency
Type: DataResource

ResourceObject
Name: Palindromes sorted by frequency
Type: DataResource
Description:

Query the object:
In[11]:=
rd=ResourceDataResourceObject
Name: Palindromes sorted by frequency
Type: DataResource

Out[11]=
a
aa
I
II
did
diddid
level
levellevel
non
nonnon
eye
eyeeye
refer
referrefer
deed
deeddeed
sees
seessees
noon
noonnoon
civic
civiccivic
dad
daddad
radar
radarradar
pop
poppop
ere
ereere
mom
mommom
sexes
sexessexes
rotor
rotorrotor
eve
eveeve
madam
madammadam
rows 1–20 of
70
Make a word cloud from the keys:

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com