deAttify Mention - Android java.lang

Android examples for java.lang:String

Description

deAttify Mention

Demo Code

public class Main{

    public static String deAttifyMention(String mention) {
        return mention.substring(mention.indexOf("@") + 1,
                mention.indexOf("'"));
    }//w  w  w. j  av  a 2  s .  com

}

Related Tutorials