Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Picking out first letter from page title

Martin James
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2016

May sound like an unusual thing to do but is there a way to pick out the first letter from the page title with User Macros?

Example:

Page Title: Text Document

Key (Result): T

1 answer

1 accepted

2 votes
Answer accepted
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 22, 2016

$content.title.substring (0,1)

Or to capitalize the letter,

$content.title.substring (0,1).toUpperCase()

Martin James
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2016

Perfect thanks smile

Like Volker Weinreich likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events