Editorial Workflows

Change Case

public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: ::: Works on selected text

::: Changes the selected text's case to one of three possible options
- Lower case;
- Upper case;
- Title case (with exceptions for small words, similar to John Grubers perl implementation)

The exceptions can be edited inside the custom action. Separate each lowercased word with a pipe character "|"

Shared by: http://blog.plobo.net/post/58794841564/editorial-workflows

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
If… ?
Run the block if
Selected Text
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
ON
Message
Nothing Selected. Please try again.
…End If
Show Alert ?
Title
Choose Desired Case
Message
Choose Desired Case
Button 1
Lower
Output Value
lower
Button 2
Upper
Output Value
upper
Button 3
Title
Output Value
title
Show Cancel Button
ON
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
lower
Generate Text ?
Text
Selected Text
Change Case ?
  • UPPER CASE
  • lower case
  • Title Case
Replace Selected Text ?
Replacement Text
Input
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
upper
Generate Text ?
Text
Selected Text
Change Case ?
  • UPPER CASE
  • lower case
  • Title Case
Replace Selected Text ?
Replacement Text
Input
…End If
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
title
Generate Text ?
Text
Selected Text
TitleCase ?
Replace Selected Text ?
Replacement Text
Input
…End If