2011-12-13 17 views
-3

m_textdate.text = dateに現在の日付があり、これを追加したい文字列の日付を追加したいNSString * strRR = [NSString stringWithFormat:@"BibleApp_Notes_%@.html", title];上記のコードからBibleApp_Notes_genisis1.3.htmlを取得します.titleはgenisis1.3を含む文字列です、私はこのようにしたいですBibleApp_Notes_genisis1.3 [20/05/1986 08:07:08] .html、しかしm_textdate.textは私と同じ日付formateを持っています、私はちょうど私の移動コードでこの日付をappentingしたいです。 Thnks。iphoneに文字列を追加する方法は?

+0

可能重複[フォーマットするか、iPhoneでの文字列を追加するには?](http://stackoverflow.com/questions/8483495/how-to-format-or-アペンディックス・ア・ストリング・イン・アイホーン) – Caleb

+1

Uh ...「ジェネシス」? –

答えて

1

は、次の試してみてください。

NSString * strRR = [NSString stringWithFormat:@"BibleApp_Notes_%@ [%@].html", title, m_textdate.text]; 
関連する問題